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 @@
# This template has the same interface as create.html.tmpl
#%]
[% PROCESS global/variables.none.tmpl %]
[% PROCESS global/field-descs.none.tmpl %]
[% USE Bugzilla %]
[% cgi = Bugzilla.cgi %]
......@@ -440,7 +440,7 @@ function PutDescription() {
<tr>
<td valign="top" align="right">
<b>Severity</b>
<b>[% field_descs.bug_severity FILTER html %]</b>
</td>
<td valign="top">
<select name="bug_severity">
......
......@@ -22,7 +22,7 @@
# Reed Loden <reed@reedloden.com>
#%]
[% PROCESS global/variables.none.tmpl %]
[% PROCESS global/field-descs.none.tmpl %]
[% dontchange = "--do_not_change--" %]
<input type="hidden" name="dontchange" value="[% dontchange FILTER html %]">
......@@ -107,7 +107,8 @@
<th>
<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>
</th>
<td>
......
......@@ -1263,9 +1263,12 @@
<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
instead use <kbd>summary:</kbd> to explicitly search summaries.</li>
<li>Searching the Severity field if you type something that matches
the first few characters of a severity. You can explicitly search
the Severity field if you want to find [% terms.bugs %] by severity.</li>
<li>Searching the [% field_descs.bug_severity FILTER html %] field if you
type something that matches the first few characters of a [%
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
matched the name of a priority. You can explicitly search the
Priority field if you want to find [% terms.bugs %] by priority.</li>
......
......@@ -28,8 +28,7 @@
# 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 %]
......@@ -50,7 +49,7 @@
[% terms.Bug +%] [%+ bug.bug_id %]:
[%+ urlbase %]show_bug.cgi?id=[% bug.bug_id +%]
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) %]
Assignee: [%+ bug.assigned_to %]
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