diff options
author | Frédéric Buclin <LpSolit@netscape.net> | 2017-07-11 00:10:29 +0200 |
---|---|---|
committer | Frédéric Buclin <LpSolit@netscape.net> | 2017-07-11 00:10:29 +0200 |
commit | 224ec4a14c01789a9f085075b92a48eec677c8d9 (patch) | |
tree | 7178a4a5b24e808c1c41abcb59cc806f5f92dc8c /template | |
parent | eebc4c4f82998bdcec77a58bdd70c3576cb11213 (diff) | |
download | bugs-224ec4a14c01789a9f085075b92a48eec677c8d9.tar bugs-224ec4a14c01789a9f085075b92a48eec677c8d9.tar.gz bugs-224ec4a14c01789a9f085075b92a48eec677c8d9.tar.bz2 bugs-224ec4a14c01789a9f085075b92a48eec677c8d9.tar.xz bugs-224ec4a14c01789a9f085075b92a48eec677c8d9.zip |
Replace the "Importance" field by two distinct "Priority" and "Severity" fields (mga#21221)
This reverts what has been done upstream in Bugzilla 3.2 (bmo bug 374020)
Diffstat (limited to 'template')
-rw-r--r-- | template/en/default/bug/edit.html.tmpl | 23 |
1 files changed, 14 insertions, 9 deletions
diff --git a/template/en/default/bug/edit.html.tmpl b/template/en/default/bug/edit.html.tmpl index b8abe6bc5..1e10d38e8 100644 --- a/template/en/default/bug/edit.html.tmpl +++ b/template/en/default/bug/edit.html.tmpl @@ -329,20 +329,25 @@ [%# Importance (priority and severity) #%] [%###############################################################%] <tr> - <th class="field_label"> - [% can_edit_priority = bug.check_can_change_field('priority', 0, 1) %] - <label [% IF can_edit_priority %]for="priority"[% END %] accesskey="i"> - <a href="page.cgi?id=fields.html#importance"><u>I</u>mportance</a></label>: - </th> - <td> - [% INCLUDE bug/field.html.tmpl + [% can_edit_priority = bug.check_can_change_field('priority', 0, 1) %] + [% INCLUDE "bug/field-label.html.tmpl" + field = bug_fields.priority + editable = can_edit_priority + %] + <td class="field_value"> + [% INCLUDE bug/field.html.tmpl bug = bug, field = bug_fields.priority, no_tds = 1, value = bug.priority editable = can_edit_priority %] - [%+ INCLUDE bug/field.html.tmpl + + [% can_edit_severity = bug.check_can_change_field('bug_severity', 0, 1) %] + <label [% IF can_edit_severity %]for="bug_severity"[% END %] class="field_label"> + <a href="page.cgi?id=fields.html#bug_severity" class="field_help_link" + title="[% help_html.bug_severity FILTER txt FILTER collapse FILTER html %]">Severity</a>:</label> + [%+ INCLUDE bug/field.html.tmpl bug = bug, field = bug_fields.bug_severity, no_tds = 1, value = bug.bug_severity - editable = bug.check_can_change_field('bug_severity', 0, 1) %] + editable = can_edit_severity %] [% Hook.process('after_importance', 'bug/edit.html.tmpl') %] </td> </tr> |