From 9b3041428e1e2d7fb1d7ff02ff8023bf6fe33b0d Mon Sep 17 00:00:00 2001 From: Frédéric Buclin Date: Tue, 26 Jun 2012 20:51:46 +0200 Subject: Bug 768573: Templates must INCLUDE bug/field.html.tmpl instead of PROCESS'ing it r=glob a=LpSolit --- template/en/default/bug/edit.html.tmpl | 2 +- template/en/default/bug/knob.html.tmpl | 4 ++-- template/en/default/bug/show-multiple.html.tmpl | 2 +- template/en/default/list/edit-multiple.html.tmpl | 4 ++-- 4 files changed, 6 insertions(+), 6 deletions(-) (limited to 'template/en') diff --git a/template/en/default/bug/edit.html.tmpl b/template/en/default/bug/edit.html.tmpl index bdee83806..99f513168 100644 --- a/template/en/default/bug/edit.html.tmpl +++ b/template/en/default/bug/edit.html.tmpl @@ -919,7 +919,7 @@ [% USE Bugzilla %] [% FOREACH field = Bugzilla.active_custom_fields %] - [% PROCESS bug/field.html.tmpl value = bug.${field.name} + [% INCLUDE bug/field.html.tmpl value = bug.${field.name} editable = bug.check_can_change_field(field.name, 0, 1) value_span = 2 %] diff --git a/template/en/default/bug/knob.html.tmpl b/template/en/default/bug/knob.html.tmpl index ac14e6dc0..d79fe524a 100644 --- a/template/en/default/bug/knob.html.tmpl +++ b/template/en/default/bug/knob.html.tmpl @@ -23,7 +23,7 @@ [% PROCESS global/variables.none.tmpl %]
- [% PROCESS bug/field.html.tmpl + [% INCLUDE bug/field.html.tmpl no_tds = 1 field = bug_fields.bug_status value = bug.bug_status @@ -38,7 +38,7 @@ [% END %] - [% PROCESS bug/field.html.tmpl + [% INCLUDE bug/field.html.tmpl no_tds = 1 field = bug_fields.resolution value = bug.resolution diff --git a/template/en/default/bug/show-multiple.html.tmpl b/template/en/default/bug/show-multiple.html.tmpl index 7c2b5345e..9f2734cf0 100644 --- a/template/en/default/bug/show-multiple.html.tmpl +++ b/template/en/default/bug/show-multiple.html.tmpl @@ -195,7 +195,7 @@ [% field_counter = field_counter + 1 %] [%# Odd-numbered fields get an opening %] [% '' IF field_counter % 2 %] - [% PROCESS bug/field.html.tmpl value=bug.${field.name} editable=0 %] + [% INCLUDE bug/field.html.tmpl value=bug.${field.name} editable=0 %] [%# Even-numbered fields get a closing %] [% '' IF !(field_counter % 2) %] [% IF extra_field_item %] diff --git a/template/en/default/list/edit-multiple.html.tmpl b/template/en/default/list/edit-multiple.html.tmpl index 92e578e8f..a0adaea63 100644 --- a/template/en/default/list/edit-multiple.html.tmpl +++ b/template/en/default/list/edit-multiple.html.tmpl @@ -150,7 +150,7 @@ value="[% dontchange FILTER html %]" size="6"> - [% PROCESS bug/field.html.tmpl + [% INCLUDE bug/field.html.tmpl field = bug_fields.deadline, value = dontchange editable = 1, allow_dont_change = 1 %] @@ -285,7 +285,7 @@ [% bug = 0 %] [% FOREACH field = Bugzilla.active_custom_fields %] - [% PROCESS bug/field.html.tmpl value = dontchange + [% INCLUDE bug/field.html.tmpl value = dontchange editable = 1 allow_dont_change = 1 %] -- cgit v1.2.3-24-g4f1b