diff options
author | mkanat%bugzilla.org <> | 2009-11-18 08:04:57 +0100 |
---|---|---|
committer | mkanat%bugzilla.org <> | 2009-11-18 08:04:57 +0100 |
commit | a44e152480c9c22ca9b3a89da774317c5590d21b (patch) | |
tree | 035210618c0987beaffc953cbf09611866e0d3e5 /template/en/default/admin/workflow | |
parent | bc19f61c0c33e71a00dcc8e4ca3e791a9e3b661d (diff) | |
download | bugzilla-a44e152480c9c22ca9b3a89da774317c5590d21b.tar.gz bugzilla-a44e152480c9c22ca9b3a89da774317c5590d21b.tar.xz |
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 <vitaly.fedrushkov@gmail.com> r=mkanat, a=mkanat
Diffstat (limited to 'template/en/default/admin/workflow')
-rw-r--r-- | template/en/default/admin/workflow/comment.html.tmpl | 4 | ||||
-rw-r--r-- | template/en/default/admin/workflow/edit.html.tmpl | 6 |
2 files changed, 5 insertions, 5 deletions
diff --git a/template/en/default/admin/workflow/comment.html.tmpl b/template/en/default/admin/workflow/comment.html.tmpl index 2fa78f003..a7a6a74c2 100644 --- a/template/en/default/admin/workflow/comment.html.tmpl +++ b/template/en/default/admin/workflow/comment.html.tmpl @@ -49,7 +49,7 @@ <th> </th> [% FOREACH status = statuses %] <th class="col-header[% status.is_open ? " open-status" : " closed-status" %]"> - [% status.name FILTER html %] + [% display_value("bug_status", status.name) FILTER html %] </th> [% END %] </tr> @@ -59,7 +59,7 @@ [% FOREACH status = p.merge(statuses) %] <tr class="highlight"> <th align="right" class="[% status.is_open ? "open-status" : "closed-status" %]"> - [% status.name FILTER html %] + [% display_value("bug_status", status.name) FILTER html %] </th> [% FOREACH new_status = statuses %] 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 @@ <th> </th> [% FOREACH status = statuses %] <th class="col-header[% status.is_open ? " open-status" : " closed-status" %]"> - [% status.name FILTER html %] + [% display_value("bug_status", status.name) FILTER html %] </th> [% END %] </tr> @@ -64,7 +64,7 @@ [% FOREACH status = p.merge(statuses) %] <tr class="highlight"> <th align="right" class="[% status.is_open ? "open-status" : "closed-status" %]"> - [% status.name FILTER html %] + [% display_value("bug_status", status.name) FILTER html %] </th> [% FOREACH new_status = statuses %] @@ -89,7 +89,7 @@ <p> 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 - <b>[% Param("duplicate_or_move_bug_status") FILTER html %]</b>. All transitions to + <b>[% display_value("bug_status", Param("duplicate_or_move_bug_status")) FILTER html %]</b>. All transitions to this [% terms.bug %] status must then be valid (this is the reason why you cannot edit them above).<br> Note: you can change this setting by visiting the |