Bug 768573: Templates must INCLUDE bug/field.html.tmpl instead of PROCESS'ing it

r=glob a=LpSolit


git-svn-id: svn://10.0.0.236/trunk@263985 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
mkanat%bugzilla.org 2012-06-26 19:00:46 +00:00
parent c3c4eb9489
commit c33e59e153
5 changed files with 7 additions and 7 deletions

View File

@ -1 +1 @@
8270
8271

View File

@ -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>

View File

@ -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

View File

@ -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 %]

View File

@ -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>