Commit 72839930 authored by Matt Selsky's avatar Matt Selsky Committed by Max Kanat-Alexander

Bug 451801: Make all pages use field_descs.bug_severity instead of a hard-coded

"Severity" r=mkanat, a=mkanat
parent 441aaf23
...@@ -23,7 +23,7 @@ ...@@ -23,7 +23,7 @@
# This template has the same interface as create.html.tmpl # This template has the same interface as create.html.tmpl
#%] #%]
[% PROCESS global/variables.none.tmpl %] [% PROCESS global/field-descs.none.tmpl %]
[% USE Bugzilla %] [% USE Bugzilla %]
[% cgi = Bugzilla.cgi %] [% cgi = Bugzilla.cgi %]
...@@ -440,7 +440,7 @@ function PutDescription() { ...@@ -440,7 +440,7 @@ function PutDescription() {
<tr> <tr>
<td valign="top" align="right"> <td valign="top" align="right">
<b>Severity</b> <b>[% field_descs.bug_severity FILTER html %]</b>
</td> </td>
<td valign="top"> <td valign="top">
<select name="bug_severity"> <select name="bug_severity">
......
...@@ -22,7 +22,7 @@ ...@@ -22,7 +22,7 @@
# Reed Loden <reed@reedloden.com> # Reed Loden <reed@reedloden.com>
#%] #%]
[% PROCESS global/variables.none.tmpl %] [% PROCESS global/field-descs.none.tmpl %]
[% dontchange = "--do_not_change--" %] [% dontchange = "--do_not_change--" %]
<input type="hidden" name="dontchange" value="[% dontchange FILTER html %]"> <input type="hidden" name="dontchange" value="[% dontchange FILTER html %]">
...@@ -107,7 +107,8 @@ ...@@ -107,7 +107,8 @@
<th> <th>
<label for="bug_severity"> <label for="bug_severity">
<a href="page.cgi?id=fields.html#bug_severity">Severity</a>: <a href="page.cgi?id=fields.html#bug_severity">[% field_descs.bug_severity
FILTER html %]</a>:
</label> </label>
</th> </th>
<td> <td>
......
...@@ -1263,9 +1263,12 @@ ...@@ -1263,9 +1263,12 @@
<li><b>+</b> as a prefix to mean "search additional resolutions", and <li><b>+</b> as a prefix to mean "search additional resolutions", and
<b>+</b> as a prefix to mean "search just the summary". You can <b>+</b> as a prefix to mean "search just the summary". You can
instead use <kbd>summary:</kbd> to explicitly search summaries.</li> instead use <kbd>summary:</kbd> to explicitly search summaries.</li>
<li>Searching the Severity field if you type something that matches <li>Searching the [% field_descs.bug_severity FILTER html %] field if you
the first few characters of a severity. You can explicitly search type something that matches the first few characters of a [%
the Severity field if you want to find [% terms.bugs %] by severity.</li> field_descs.bug_severity FILTER html %]. You can explicitly
search the [% field_descs.bug_severity FILTER html %] field if you want to
find [% terms.bugs %] by [% field_descs.bug_severity FILTER
html %].</li>
<li>Searching the Priority field if you typed something that exactly <li>Searching the Priority field if you typed something that exactly
matched the name of a priority. You can explicitly search the matched the name of a priority. You can explicitly search the
Priority field if you want to find [% terms.bugs %] by priority.</li> Priority field if you want to find [% terms.bugs %] by priority.</li>
......
...@@ -28,8 +28,7 @@ ...@@ -28,8 +28,7 @@
# recipient: user object for the intended recipient of the message # recipient: user object for the intended recipient of the message
#%] #%]
[% PROCESS global/variables.none.tmpl %] [% PROCESS global/field-descs.none.tmpl %]
[% PROCESS 'global/field-descs.none.tmpl' %]
[% body %] [% body %]
...@@ -50,7 +49,7 @@ ...@@ -50,7 +49,7 @@
[% terms.Bug +%] [%+ bug.bug_id %]: [% terms.Bug +%] [%+ bug.bug_id %]:
[%+ urlbase %]show_bug.cgi?id=[% bug.bug_id +%] [%+ urlbase %]show_bug.cgi?id=[% bug.bug_id +%]
Priority: [%+ display_value("priority", bug.priority) -%] Priority: [%+ display_value("priority", bug.priority) -%]
Severity: [%+ display_value("bug_severity", bug.bug_severity) -%] [% field_descs.bug_severity %]: [%+ display_value("bug_severity", bug.bug_severity) -%]
Platform: [%+ display_value("rep_platform", bug.rep_platform) %] Platform: [%+ display_value("rep_platform", bug.rep_platform) %]
Assignee: [%+ bug.assigned_to %] Assignee: [%+ bug.assigned_to %]
Status: [%+ display_value("bug_status", bug.bug_status) %] Status: [%+ display_value("bug_status", bug.bug_status) %]
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment