diff options
author | mkanat%bugzilla.org <> | 2009-11-18 07:04:57 +0000 |
---|---|---|
committer | mkanat%bugzilla.org <> | 2009-11-18 07:04:57 +0000 |
commit | a44e152480c9c22ca9b3a89da774317c5590d21b (patch) | |
tree | 035210618c0987beaffc953cbf09611866e0d3e5 /template/en/default/reports/report-table.html.tmpl | |
parent | bc19f61c0c33e71a00dcc8e4ca3e791a9e3b661d (diff) | |
download | bugs-a44e152480c9c22ca9b3a89da774317c5590d21b.tar bugs-a44e152480c9c22ca9b3a89da774317c5590d21b.tar.gz bugs-a44e152480c9c22ca9b3a89da774317c5590d21b.tar.bz2 bugs-a44e152480c9c22ca9b3a89da774317c5590d21b.tar.xz bugs-a44e152480c9c22ca9b3a89da774317c5590d21b.zip |
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/reports/report-table.html.tmpl')
-rw-r--r-- | template/en/default/reports/report-table.html.tmpl | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/template/en/default/reports/report-table.html.tmpl b/template/en/default/reports/report-table.html.tmpl index 6c0abe4d3..76b80f893 100644 --- a/template/en/default/reports/report-table.html.tmpl +++ b/template/en/default/reports/report-table.html.tmpl @@ -154,12 +154,8 @@ </table> [% BLOCK value_display %] - [% SET disp_value = value %] - [% IF field == 'bug_status' %] - [% SET disp_value = display_value("bug_status", value) %] - [% ELSIF field == 'resolution' %] - [% SET disp_value = display_value("resolution", value) %] - [% ELSIF field == 'assigned_to' OR field == 'reporter' + [% SET disp_value = display_value(field, value) %] + [% IF field == 'assigned_to' OR field == 'reporter' OR field == 'qa_contact' %] [% disp_value = value FILTER email %] |