summaryrefslogtreecommitdiffstats
path: root/template/en/default/bug/show-multiple.html.tmpl
diff options
context:
space:
mode:
authormkanat%bugzilla.org <>2009-11-18 08:04:57 +0100
committermkanat%bugzilla.org <>2009-11-18 08:04:57 +0100
commita44e152480c9c22ca9b3a89da774317c5590d21b (patch)
tree035210618c0987beaffc953cbf09611866e0d3e5 /template/en/default/bug/show-multiple.html.tmpl
parentbc19f61c0c33e71a00dcc8e4ca3e791a9e3b661d (diff)
downloadbugzilla-a44e152480c9c22ca9b3a89da774317c5590d21b.tar.gz
bugzilla-a44e152480c9c22ca9b3a89da774317c5590d21b.tar.xz
Bug 519142: Replace IF/ELSE statements about bug_status/resolution with just a display_value call, and use display_value in more places to translate field values.
Patch by Vitaly Fedrushkov <vitaly.fedrushkov@gmail.com> r=mkanat, a=mkanat
Diffstat (limited to 'template/en/default/bug/show-multiple.html.tmpl')
-rw-r--r--template/en/default/bug/show-multiple.html.tmpl6
1 files changed, 3 insertions, 3 deletions
diff --git a/template/en/default/bug/show-multiple.html.tmpl b/template/en/default/bug/show-multiple.html.tmpl
index b6507b964..177bea14f 100644
--- a/template/en/default/bug/show-multiple.html.tmpl
+++ b/template/en/default/bug/show-multiple.html.tmpl
@@ -139,7 +139,7 @@
<tr>
<th>[% field_descs.bug_severity FILTER html %]:</th>
<td class="bz_[% bug.bug_severity FILTER css_class_quote -%]">
- [% bug.bug_severity FILTER html %]
+ [% display_value("bug_severity", bug.bug_severity) FILTER html %]
</td>
[% PROCESS rightcell %]
@@ -301,7 +301,7 @@
[% BLOCK row %]
<tr>
<th>[% field_descs.${cell} FILTER html %]:</th>
- <td[% " colspan=3" IF fullrow %]>[% bug.${cell} FILTER html %]</td>
+ <td[% " colspan=3" IF fullrow %]>[% display_value(cell, bug.${cell}) FILTER html %]</td>
[% PROCESS rightcell IF !fullrow %]
</tr>
[% fullrow = 0 %]
@@ -357,7 +357,7 @@
</td>
[% ELSIF name != "" %]
<th class="rightcell">[% field_descs.${name} FILTER html %]:</th>
- <td>[% bug.${name} FILTER html %]</td>
+ <td>[% display_value(name, bug.${name}) FILTER html %]</td>
[% ELSE %]
<td>&nbsp;</td>
<td>&nbsp;</td>