diff options
Diffstat (limited to 'template/en/default/admin')
-rw-r--r-- | template/en/default/admin/params/common.html.tmpl | 14 | ||||
-rw-r--r-- | template/en/default/admin/workflow/comment.html.tmpl | 4 | ||||
-rw-r--r-- | template/en/default/admin/workflow/edit.html.tmpl | 6 |
3 files changed, 18 insertions, 6 deletions
diff --git a/template/en/default/admin/params/common.html.tmpl b/template/en/default/admin/params/common.html.tmpl index c23c2ca9a..5b0d00429 100644 --- a/template/en/default/admin/params/common.html.tmpl +++ b/template/en/default/admin/params/common.html.tmpl @@ -22,6 +22,8 @@ # panel: hash representing the current panel. #%] +[% PROCESS "global/field-descs.none.tmpl" %] + [% sortlist_separator = '---' %] <dl> @@ -115,7 +117,17 @@ [% FOREACH item = param.choices %] <option value="[% item FILTER html %]" [% " selected=\"selected\"" IF item == Param(param.name) %]> - [% item FILTER html %] + [% IF param.name == "defaultseverity" %] + [% display_value("bug_severity", item) FILTER html %] + [% ELSIF param.name == "defaultplatform" %] + [% display_value("rep_platform", item) FILTER html %] + [% ELSIF param.name == "defaultopsys" %] + [% display_value("op_sys", item) FILTER html %] + [% ELSIF param.name == "duplicate_or_move_bug_status" %] + [% display_value("bug_status", item) FILTER html %] + [% ELSE %] + [% item FILTER html %] + [% END %] </option> [% END %] </select> 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 |