From edcc538e961a21c18566bf71fea02c0ef5bbd256 Mon Sep 17 00:00:00 2001 From: "lpsolit%gmail.com" <> Date: Tue, 10 Apr 2007 22:33:10 +0000 Subject: 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 r=gerv a=LpSolit MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- template/en/default/list/edit-multiple.html.tmpl | 8 ++++---- template/en/default/list/table.html.tmpl | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) (limited to 'template/en/default/list') 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 %]
[% END %] @@ -292,7 +292,7 @@ [% knum = knum + 1 %]
[% knum = knum + 1 %] @@ -326,14 +326,14 @@ [% IF bugstatuses.contains('RESOLVED') %] [% knum = knum + 1 %] -
+
[% END %] [% END %] [% IF !bugstatuses.containsany(openstates) AND !bugstatuses.contains('CLOSED') %] [% knum = knum + 1 %] -
+
[% 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 %] -- cgit v1.2.3-24-g4f1b