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/list/list.atom.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/list/list.atom.tmpl')
-rw-r--r-- | template/en/default/list/list.atom.tmpl | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/template/en/default/list/list.atom.tmpl b/template/en/default/list/list.atom.tmpl index 5086a044c..3c504f9c9 100644 --- a/template/en/default/list/list.atom.tmpl +++ b/template/en/default/list/list.atom.tmpl @@ -23,7 +23,7 @@ # This is a template for generating an Atom representation of a buglist. #%] -[% PROCESS global/variables.none.tmpl %] +[% PROCESS "global/field-descs.none.tmpl" %] [% DEFAULT title = "$terms.Bugzilla $terms.Bugs" %] @@ -71,16 +71,16 @@ <td>[% bug.reporter_realname FILTER html %]</td> </tr><tr class="bz_feed_bug_status"> <td>[% columns.bug_status.title FILTER html %]</td> - <td>[% bug.bug_status FILTER html %]</td> + <td>[% display_value("bug_status", bug.bug_status) FILTER html %]</td> </tr><tr class="bz_feed_resolution"> <td>[% columns.resolution.title FILTER html %] </td> - <td>[% bug.resolution FILTER html %]</td> + <td>[% display_value("resolution", bug.resolution) FILTER html %]</td> </tr><tr class="bz_feed_priority"> <td>[% columns.priority.title FILTER html %]</td> - <td>[% bug.priority FILTER html %]</td> + <td>[% display_value("priority", bug.priority) FILTER html %]</td> </tr><tr class="bz_feed_severity"> <td>[% columns.bug_severity.title FILTER html %] </td> - <td>[% bug.bug_severity FILTER html %]</td> + <td>[% display_value("bug_severity", bug.bug_severity) FILTER html %]</td> [% IF Param("usetargetmilestone") %] </tr><tr class="bz_feed_target_milestone"> <td>[% columns.target_milestone.title FILTER html %]</td> |