diff options
author | mkanat%bugzilla.org <> | 2009-10-01 00:34:31 +0200 |
---|---|---|
committer | mkanat%bugzilla.org <> | 2009-10-01 00:34:31 +0200 |
commit | 832be61ce419f06cc682e7afc07d9197592a6bf5 (patch) | |
tree | 26cc6a4aeb96479f2cd7371d2c47ac876857caca /template/en/default/bug/knob.html.tmpl | |
parent | dbe356e60a0aed4b498001c603a86d0f648fa229 (diff) | |
download | bugzilla-832be61ce419f06cc682e7afc07d9197592a6bf5.tar.gz bugzilla-832be61ce419f06cc682e7afc07d9197592a6bf5.tar.xz |
Bug 512623: Change get_status and get_resolution to display_value everywhere.
Patch by Max Kanat-Alexander <mkanat@bugzilla.org> r=LpSolit, a=LpSolit
Diffstat (limited to 'template/en/default/bug/knob.html.tmpl')
-rw-r--r-- | template/en/default/bug/knob.html.tmpl | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/template/en/default/bug/knob.html.tmpl b/template/en/default/bug/knob.html.tmpl index a8a3a9df8..cd586fceb 100644 --- a/template/en/default/bug/knob.html.tmpl +++ b/template/en/default/bug/knob.html.tmpl @@ -44,7 +44,7 @@ [% PROCESS initial_action %] [% NEXT IF bug_status.name == bug.bug_status %] <option value="[% bug_status.name FILTER html %]"> - [% get_status(bug_status.name) FILTER html %] + [% display_value("bug_status", bug_status.name) FILTER html %] </option> [% IF !bug_status.is_open %] [% show_resolution = 1 %] @@ -71,9 +71,9 @@ [% IF bug_status_select_displayed %] </select> [% ELSE %] - [% get_status(bug.bug_status) FILTER html %] + [% display_value("bug_status", bug.bug_status) FILTER html %] [% IF bug.resolution %] - [%+ get_resolution(bug.resolution) FILTER html %] + [%+ display_value("resolution", bug.resolution) FILTER html %] [% IF bug.dup_id %] <span id="duplicate_display">of [% "${terms.bug} ${bug.dup_id}" FILTER bug_link(bug.dup_id) FILTER none %]</span> @@ -133,7 +133,7 @@ [% BLOCK initial_action %] [% IF !initial_action_shown %] <option selected value="[% bug.bug_status FILTER html %]"> - [% get_status(bug.bug_status) FILTER html %] + [% display_value("bug_status", bug.bug_status) FILTER html %] </option> [% IF !bug.isopened %] [% show_resolution = 1 %] @@ -150,7 +150,7 @@ [% NEXT IF r == "MOVED" && bug.resolution != "MOVED" %] <option value="[% r FILTER html %]" [% "selected" IF r == bug.resolution %]> - [% get_resolution(r) FILTER html %]</option> + [% display_value("resolution", r) FILTER html %]</option> [% END %] </select> [% END %] |