summaryrefslogtreecommitdiffstats
path: root/template/en/default/bug/knob.html.tmpl
diff options
context:
space:
mode:
authorlpsolit%gmail.com <>2007-04-11 00:33:10 +0200
committerlpsolit%gmail.com <>2007-04-11 00:33:10 +0200
commitedcc538e961a21c18566bf71fea02c0ef5bbd256 (patch)
tree95e8a888d9fbbba60eb6e0774dfcfcf6c87866f4 /template/en/default/bug/knob.html.tmpl
parent8918a55e52c9badc177a791a4e70b1033c6615b7 (diff)
downloadbugzilla-edcc538e961a21c18566bf71fea02c0ef5bbd256.tar.gz
bugzilla-edcc538e961a21c18566bf71fea02c0ef5bbd256.tar.xz
Bug 377026: Replace all occurences of status_descs.FOO by get_status("FOO") (next step in supporting custom bug statuses) - Patch by Frédéric Buclin <LpSolit@gmail.com> r=gerv a=LpSolit
Diffstat (limited to 'template/en/default/bug/knob.html.tmpl')
-rw-r--r--template/en/default/bug/knob.html.tmpl16
1 files changed, 8 insertions, 8 deletions
diff --git a/template/en/default/bug/knob.html.tmpl b/template/en/default/bug/knob.html.tmpl
index 03084ddd4..12f1adf65 100644
--- a/template/en/default/bug/knob.html.tmpl
+++ b/template/en/default/bug/knob.html.tmpl
@@ -35,7 +35,7 @@
[% PROCESS initial_action %]
<input type="radio" id="knob-confirm" name="knob" value="confirm">
<label for="knob-confirm">
- Confirm [% terms.bug %] (change status to <b>[% status_descs.NEW FILTER html %]</b>)
+ Confirm [% terms.bug %] (change status to <b>[% get_status("NEW") FILTER html %]</b>)
</label>
<br>
[% knum = knum + 1 %]
@@ -48,7 +48,7 @@
<label for="knob-accept">
Accept [% terms.bug %] (
[% IF bug.isunconfirmed %]confirm [% terms.bug %], and [% END %]change
- status to <b>[% status_descs.ASSIGNED FILTER html %]</b>)
+ status to <b>[% get_status("ASSIGNED") FILTER html %]</b>)
</label>
<br>
[% knum = knum + 1 %]
@@ -61,7 +61,7 @@
<input type="radio" id="knob-clear" name="knob" value="clearresolution">
<label for="knob-clear">
Clear the resolution (remove the current resolution of
- <b>[% resolution_descs.${bug.resolution} FILTER html %]</b>)
+ <b>[% get_resolution(bug.resolution) FILTER html %]</b>)
</label>
<br>
[% knum = knum + 1 %]
@@ -97,7 +97,7 @@
[% IF bug.isunconfirmed && bug.user.canconfirm %]
&nbsp;&nbsp;&nbsp;&nbsp;<input type="checkbox" id="andconfirm" name="andconfirm">
<label for="andconfirm">
- and confirm [% terms.bug %] (change status to <b>[% status_descs.NEW FILTER html %]</b>)
+ and confirm [% terms.bug %] (change status to <b>[% get_status("NEW") FILTER html %]</b>)
</label>
<br>
[% END %]
@@ -113,7 +113,7 @@
[% IF bug.isunconfirmed && bug.user.canconfirm %]
&nbsp;&nbsp;&nbsp;&nbsp;<input type="checkbox" id="compconfirm" name="compconfirm">
<label for="compconfirm">
- and confirm [% terms.bug %] (change status to <b>[% status_descs.NEW FILTER html %]</b>)
+ and confirm [% terms.bug %] (change status to <b>[% get_status("NEW") FILTER html %]</b>)
</label>
<br>
[% END %]
@@ -142,7 +142,7 @@
[% PROCESS initial_action %]
<input type="radio" id="knob-verify" name="knob" value="verify">
<label for="knob-verify">
- Mark [% terms.bug %] as <b>[% status_descs.VERIFIED FILTER html %]</b>
+ Mark [% terms.bug %] as <b>[% get_status("VERIFIED") FILTER html %]</b>
</label>
<br>
[% knum = knum + 1 %]
@@ -151,7 +151,7 @@
[% PROCESS initial_action %]
<input type="radio" id="knob-close" name="knob" value="close">
<label for="knob-close">
- Mark [% terms.bug %] as <b>[% status_descs.CLOSED FILTER html %]</b>
+ Mark [% terms.bug %] as <b>[% get_status("CLOSED") FILTER html %]</b>
</label>
<br>
[% knum = knum + 1 %]
@@ -177,7 +177,7 @@
[% IF !initial_action_shown %]
<input type="radio" id="knob-leave" name="knob" value="none" checked="checked">
<label for="knob-leave">
- Leave as <b>[% status_descs.${bug.bug_status} FILTER html %]&nbsp;
+ Leave as <b>[% get_status(bug.bug_status) FILTER html %]&nbsp;
[% get_resolution(bug.resolution) FILTER html %]</b>
</label>
<br>