From 832be61ce419f06cc682e7afc07d9197592a6bf5 Mon Sep 17 00:00:00 2001 From: "mkanat%bugzilla.org" <> Date: Wed, 30 Sep 2009 22:34:31 +0000 Subject: Bug 512623: Change get_status and get_resolution to display_value everywhere. Patch by Max Kanat-Alexander r=LpSolit, a=LpSolit --- template/en/default/global/code-error.html.tmpl | 2 +- template/en/default/global/messages.html.tmpl | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'template/en/default/global') 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" %] -- cgit v1.2.3-24-g4f1b