diff options
author | mkanat%bugzilla.org <> | 2009-09-30 22:34:31 +0000 |
---|---|---|
committer | mkanat%bugzilla.org <> | 2009-09-30 22:34:31 +0000 |
commit | 832be61ce419f06cc682e7afc07d9197592a6bf5 (patch) | |
tree | 26cc6a4aeb96479f2cd7371d2c47ac876857caca /template/en/default/global | |
parent | dbe356e60a0aed4b498001c603a86d0f648fa229 (diff) | |
download | bugs-832be61ce419f06cc682e7afc07d9197592a6bf5.tar bugs-832be61ce419f06cc682e7afc07d9197592a6bf5.tar.gz bugs-832be61ce419f06cc682e7afc07d9197592a6bf5.tar.bz2 bugs-832be61ce419f06cc682e7afc07d9197592a6bf5.tar.xz bugs-832be61ce419f06cc682e7afc07d9197592a6bf5.zip |
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.tmpl | 2 | ||||
-rw-r--r-- | template/en/default/global/messages.html.tmpl | 4 |
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" %] |