diff options
author | Frédéric Buclin <LpSolit@gmail.com> | 2012-06-26 20:51:46 +0200 |
---|---|---|
committer | Frédéric Buclin <LpSolit@gmail.com> | 2012-06-26 20:51:46 +0200 |
commit | 9b3041428e1e2d7fb1d7ff02ff8023bf6fe33b0d (patch) | |
tree | 4076fb2f269934b0d9e2f9cef4f19e7195f7af71 /template | |
parent | ff5ce68630cc5744d77d9fd54be7df7ed7b26950 (diff) | |
download | bugzilla-9b3041428e1e2d7fb1d7ff02ff8023bf6fe33b0d.tar.gz bugzilla-9b3041428e1e2d7fb1d7ff02ff8023bf6fe33b0d.tar.xz |
Bug 768573: Templates must INCLUDE bug/field.html.tmpl instead of PROCESS'ing it
r=glob a=LpSolit
Diffstat (limited to 'template')
-rw-r--r-- | template/en/default/bug/edit.html.tmpl | 2 | ||||
-rw-r--r-- | template/en/default/bug/knob.html.tmpl | 4 | ||||
-rw-r--r-- | template/en/default/bug/show-multiple.html.tmpl | 2 | ||||
-rw-r--r-- | template/en/default/list/edit-multiple.html.tmpl | 4 |
4 files changed, 6 insertions, 6 deletions
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 %] <tr> - [% 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 %] </tr> 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 %] <div id="status"> - [% 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 %] <span id="resolution_settings"> - [% 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 <tr> %] [% '<tr>' 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 <tr> %] [% '</tr>' 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"> </td> - [% PROCESS bug/field.html.tmpl + [% INCLUDE bug/field.html.tmpl field = bug_fields.deadline, value = dontchange editable = 1, allow_dont_change = 1 %] </tr> @@ -285,7 +285,7 @@ [% bug = 0 %] [% FOREACH field = Bugzilla.active_custom_fields %] <tr> - [% PROCESS bug/field.html.tmpl value = dontchange + [% INCLUDE bug/field.html.tmpl value = dontchange editable = 1 allow_dont_change = 1 %] </tr> |