From a44e152480c9c22ca9b3a89da774317c5590d21b Mon Sep 17 00:00:00 2001 From: "mkanat%bugzilla.org" <> Date: Wed, 18 Nov 2009 07:04:57 +0000 Subject: Bug 519142: Replace IF/ELSE statements about bug_status/resolution with just a display_value call, and use display_value in more places to translate field values. Patch by Vitaly Fedrushkov r=mkanat, a=mkanat --- template/en/default/admin/workflow/edit.html.tmpl | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'template/en/default/admin/workflow/edit.html.tmpl') diff --git a/template/en/default/admin/workflow/edit.html.tmpl b/template/en/default/admin/workflow/edit.html.tmpl index 787937989..406c08a21 100644 --- a/template/en/default/admin/workflow/edit.html.tmpl +++ b/template/en/default/admin/workflow/edit.html.tmpl @@ -54,7 +54,7 @@   [% FOREACH status = statuses %] - [% status.name FILTER html %] + [% display_value("bug_status", status.name) FILTER html %] [% END %] @@ -64,7 +64,7 @@ [% FOREACH status = p.merge(statuses) %] - [% status.name FILTER html %] + [% display_value("bug_status", status.name) FILTER html %] [% FOREACH new_status = statuses %] @@ -89,7 +89,7 @@

When [% terms.abug %] is marked as a duplicate of another one or is moved to another installation, the [% terms.bug %] status is automatically set to - [% Param("duplicate_or_move_bug_status") FILTER html %]. All transitions to + [% display_value("bug_status", Param("duplicate_or_move_bug_status")) FILTER html %]. All transitions to this [% terms.bug %] status must then be valid (this is the reason why you cannot edit them above).
Note: you can change this setting by visiting the -- cgit v1.2.3-24-g4f1b