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/admin/products/edit-common.html.tmpl | 2 +- template/en/default/admin/workflow/edit.html.tmpl | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'template/en/default/admin') diff --git a/template/en/default/admin/products/edit-common.html.tmpl b/template/en/default/admin/products/edit-common.html.tmpl index 8b42592cb..e7bcbbb7a 100644 --- a/template/en/default/admin/products/edit-common.html.tmpl +++ b/template/en/default/admin/products/edit-common.html.tmpl @@ -105,7 +105,7 @@ Enter the number of votes [% terms.abug %] in this product needs to automatically get out of the - [% get_status("UNCONFIRMED") FILTER html %] + [% display_value("bug_status", "UNCONFIRMED") FILTER html %] state.
diff --git a/template/en/default/admin/workflow/edit.html.tmpl b/template/en/default/admin/workflow/edit.html.tmpl index 1328ce005..787937989 100644 --- a/template/en/default/admin/workflow/edit.html.tmpl +++ b/template/en/default/admin/workflow/edit.html.tmpl @@ -35,8 +35,8 @@

This page allows you to define which status transitions are valid in your workflow. For compatibility with older versions of [% terms.Bugzilla %], reopening [% terms.abug %] - will only display either [% get_status("UNCONFIRMED") FILTER html %] or - [%+ get_status("REOPENED") FILTER html %] (if allowed by your workflow) but not + will only display either [% display_value("bug_status", "UNCONFIRMED") FILTER html %] or + [%+ display_value("bug_status", "REOPENED") FILTER html %] (if allowed by your workflow) but not both. The decision depends on whether the [% terms.bug %] has ever been confirmed or not. So it is a good idea to allow both transitions and let [% terms.Bugzilla %] select the correct one. -- cgit v1.2.3-24-g4f1b