summaryrefslogtreecommitdiffstats
path: root/template/en/default/list/table.html.tmpl
diff options
context:
space:
mode:
authormkanat%bugzilla.org <>2009-10-01 00:34:31 +0200
committermkanat%bugzilla.org <>2009-10-01 00:34:31 +0200
commit832be61ce419f06cc682e7afc07d9197592a6bf5 (patch)
tree26cc6a4aeb96479f2cd7371d2c47ac876857caca /template/en/default/list/table.html.tmpl
parentdbe356e60a0aed4b498001c603a86d0f648fa229 (diff)
downloadbugzilla-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/list/table.html.tmpl')
-rw-r--r--template/en/default/list/table.html.tmpl8
1 files changed, 4 insertions, 4 deletions
diff --git a/template/en/default/list/table.html.tmpl b/template/en/default/list/table.html.tmpl
index 87833ff5b..2305d2fa5 100644
--- a/template/en/default/list/table.html.tmpl
+++ b/template/en/default/list/table.html.tmpl
@@ -199,9 +199,9 @@
[% IF abbrev.$column.maxlength %]
<span title="
[%- IF column == 'bug_status' %]
- [%- get_status(bug.$column) FILTER html %]
+ [%- display_value("bug_status", bug.$column) FILTER html %]
[% ELSIF column == 'resolution' %]
- [%- get_resolution(bug.$column) FILTER html %]
+ [%- display_value("resolution", bug.$column) FILTER html %]
[% ELSE %]
[%- bug.$column FILTER html %]
[% END %]">
@@ -213,9 +213,9 @@
column == 'estimated_time' %]
[% PROCESS formattimeunit time_unit=bug.$column %]
[% ELSIF column == 'bug_status' %]
- [%- get_status(bug.$column).truncate(abbrev.$column.maxlength, abbrev.$column.ellipsis) FILTER html %]
+ [%- display_value("bug_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 %]
+ [%- display_value("resolution", bug.$column).truncate(abbrev.$column.maxlength, abbrev.$column.ellipsis) FILTER html %]
[%# Display the login name of the user if their real name is empty. %]
[% ELSIF column.match('_realname$') && bug.$column == '' %]