diff options
author | lpsolit%gmail.com <> | 2007-04-11 00:33:10 +0200 |
---|---|---|
committer | lpsolit%gmail.com <> | 2007-04-11 00:33:10 +0200 |
commit | edcc538e961a21c18566bf71fea02c0ef5bbd256 (patch) | |
tree | 95e8a888d9fbbba60eb6e0774dfcfcf6c87866f4 /template/en/default/list | |
parent | 8918a55e52c9badc177a791a4e70b1033c6615b7 (diff) | |
download | bugzilla-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/list')
-rw-r--r-- | template/en/default/list/edit-multiple.html.tmpl | 8 | ||||
-rw-r--r-- | template/en/default/list/table.html.tmpl | 2 |
2 files changed, 5 insertions, 5 deletions
diff --git a/template/en/default/list/edit-multiple.html.tmpl b/template/en/default/list/edit-multiple.html.tmpl index 38e4e930f..0dc91681c 100644 --- a/template/en/default/list/edit-multiple.html.tmpl +++ b/template/en/default/list/edit-multiple.html.tmpl @@ -282,7 +282,7 @@ [% knum = knum + 1 %] <input id="knob-confirm" type="radio" name="knob" value="confirm"> <label for="knob-confirm"> - Confirm [% terms.bugs %] (change status to <b>[% status_descs.NEW FILTER html %]</b>) + Confirm [% terms.bugs %] (change status to <b>[% get_status("NEW") FILTER html %]</b>) </label><br> [% END %] @@ -292,7 +292,7 @@ [% knum = knum + 1 %] <input id="knob-accept" type="radio" name="knob" value="accept"> <label for="knob-accept"> - Accept [% terms.bugs %] (change status to <b>[% status_descs.ASSIGNED FILTER html %]</b>) + Accept [% terms.bugs %] (change status to <b>[% get_status("ASSIGNED") FILTER html %]</b>) </label><br> [% knum = knum + 1 %] @@ -326,14 +326,14 @@ [% IF bugstatuses.contains('RESOLVED') %] [% knum = knum + 1 %] <input id="knob-verify" type="radio" name="knob" value="verify"> - <label for="knob-verify">Mark [% terms.bugs %] as <b>[% status_descs.VERIFIED FILTER html %]</b></label><br> + <label for="knob-verify">Mark [% terms.bugs %] as <b>[% get_status("VERIFIED") FILTER html %]</b></label><br> [% END %] [% END %] [% IF !bugstatuses.containsany(openstates) AND !bugstatuses.contains('CLOSED') %] [% knum = knum + 1 %] <input id="knob-close" type="radio" name="knob" value="close"> - <label for="knob-close">Mark [% terms.bugs %] as <b>[% status_descs.CLOSED FILTER html %]</b></label><br> + <label for="knob-close">Mark [% terms.bugs %] as <b>[% get_status("CLOSED") FILTER html %]</b></label><br> [% END %] [% knum = knum + 1 %] diff --git a/template/en/default/list/table.html.tmpl b/template/en/default/list/table.html.tmpl index 2918007c1..eb9e641ae 100644 --- a/template/en/default/list/table.html.tmpl +++ b/template/en/default/list/table.html.tmpl @@ -190,7 +190,7 @@ column == 'estimated_time' %] [% PROCESS formattimeunit time_unit=bug.$column %] [% ELSIF column == 'bug_status' %] - [%- status_descs.${bug.$column}.truncate(abbrev.$column.maxlength, abbrev.$column.ellipsis) FILTER html %] + [%- get_status(bug.$column).truncate(abbrev.$column.maxlength, abbrev.$column.ellipsis) FILTER html %] [% ELSIF column == 'resolution' %] [%- get_resolution(bug.$column).truncate(abbrev.$column.maxlength, abbrev.$column.ellipsis) FILTER html %] [% ELSE %] |