summaryrefslogtreecommitdiffstats
path: root/template/en/default/global
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/global
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/global')
-rw-r--r--template/en/default/global/code-error.html.tmpl2
-rw-r--r--template/en/default/global/messages.html.tmpl4
2 files changed, 3 insertions, 3 deletions
diff --git a/template/en/default/global/code-error.html.tmpl b/template/en/default/global/code-error.html.tmpl
index 4ba5e647a..d75ca4432 100644
--- a/template/en/default/global/code-error.html.tmpl
+++ b/template/en/default/global/code-error.html.tmpl
@@ -336,7 +336,7 @@
[% ELSIF error == "no_open_bug_status" %]
[% title = "$terms.Bug Cannot Be Confirmed" %]
There is no valid transition from
- [%+ get_status("UNCONFIRMED") FILTER html %] to an open state.
+ [%+ display_value("bug_status", "UNCONFIRMED") FILTER html %] to an open state.
[% ELSIF error == "param_invalid" %]
[% title = "Invalid Parameter" %]
diff --git a/template/en/default/global/messages.html.tmpl b/template/en/default/global/messages.html.tmpl
index dd3967dc1..766e39113 100644
--- a/template/en/default/global/messages.html.tmpl
+++ b/template/en/default/global/messages.html.tmpl
@@ -346,10 +346,10 @@
[% field_descs.$field_name FILTER html %]
[% ELSIF message_tag == "get_resolution" %]
- [% get_resolution(resolution) FILTER html %]
+ [% display_value("resolution", resolution) FILTER html %]
[% ELSIF message_tag == "get_status" %]
- [% get_status(status) FILTER html %]
+ [% display_value("bug_status", status) FILTER html %]
[% ELSIF message_tag == "group_created" %]
[% title = "New Group Created" %]