aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFrédéric Buclin <LpSolit@gmail.com>2012-06-26 20:50:06 +0200
committerFrédéric Buclin <LpSolit@gmail.com>2012-06-26 20:50:06 +0200
commita68bafeabdd707507cd19fe16568a35e9ac52320 (patch)
tree98ad7284b41ee60f146937a213f679e85dbc809c
parentBug 635882: html_light_quote() should accept the "target" attribute for links (diff)
downloadbugzilla-a68bafeabdd707507cd19fe16568a35e9ac52320.tar.gz
bugzilla-a68bafeabdd707507cd19fe16568a35e9ac52320.tar.bz2
bugzilla-a68bafeabdd707507cd19fe16568a35e9ac52320.zip
Bug 768573: Templates must INCLUDE bug/field.html.tmpl instead of PROCESS'ing it
r=glob a=LpSolit
-rw-r--r--template/en/default/bug/edit.html.tmpl2
-rw-r--r--template/en/default/bug/knob.html.tmpl4
-rw-r--r--template/en/default/bug/show-multiple.html.tmpl2
-rw-r--r--template/en/default/list/edit-multiple.html.tmpl4
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 9295e178c..acb0dc733 100644
--- a/template/en/default/bug/edit.html.tmpl
+++ b/template/en/default/bug/edit.html.tmpl
@@ -885,7 +885,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 704647207..8413da9b0 100644
--- a/template/en/default/bug/knob.html.tmpl
+++ b/template/en/default/bug/knob.html.tmpl
@@ -7,7 +7,7 @@
#%]
<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
@@ -22,7 +22,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 7207e8cf9..edc5c3187 100644
--- a/template/en/default/bug/show-multiple.html.tmpl
+++ b/template/en/default/bug/show-multiple.html.tmpl
@@ -176,7 +176,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 242346339..18179d20c 100644
--- a/template/en/default/list/edit-multiple.html.tmpl
+++ b/template/en/default/list/edit-multiple.html.tmpl
@@ -134,7 +134,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>
@@ -269,7 +269,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>