summaryrefslogtreecommitdiffstats
path: root/template
diff options
context:
space:
mode:
authorMatt Selsky <selsky@columbia.edu>2011-08-10 00:30:08 +0200
committerMax Kanat-Alexander <mkanat@bugzilla.org>2011-08-10 00:30:08 +0200
commit72839930451ca44afd7431471654067fa8b19e42 (patch)
tree0cf1b274cfd83ab2888379808ae71af226bbdd26 /template
parent441aaf239d6dd781dac7a47d38c17ef06c8b2fca (diff)
downloadbugzilla-72839930451ca44afd7431471654067fa8b19e42.tar.gz
bugzilla-72839930451ca44afd7431471654067fa8b19e42.tar.xz
Bug 451801: Make all pages use field_descs.bug_severity instead of a hard-coded
"Severity" r=mkanat, a=mkanat
Diffstat (limited to 'template')
-rw-r--r--template/en/default/bug/create/create-guided.html.tmpl4
-rw-r--r--template/en/default/list/edit-multiple.html.tmpl5
-rw-r--r--template/en/default/pages/release-notes.html.tmpl9
-rw-r--r--template/en/default/whine/mail.txt.tmpl5
4 files changed, 13 insertions, 10 deletions
diff --git a/template/en/default/bug/create/create-guided.html.tmpl b/template/en/default/bug/create/create-guided.html.tmpl
index d10314628..7c291d4dd 100644
--- a/template/en/default/bug/create/create-guided.html.tmpl
+++ b/template/en/default/bug/create/create-guided.html.tmpl
@@ -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">
diff --git a/template/en/default/list/edit-multiple.html.tmpl b/template/en/default/list/edit-multiple.html.tmpl
index 92e578e8f..fb37631b2 100644
--- a/template/en/default/list/edit-multiple.html.tmpl
+++ b/template/en/default/list/edit-multiple.html.tmpl
@@ -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>
diff --git a/template/en/default/pages/release-notes.html.tmpl b/template/en/default/pages/release-notes.html.tmpl
index a094b5cc2..ee3fed0ad 100644
--- a/template/en/default/pages/release-notes.html.tmpl
+++ b/template/en/default/pages/release-notes.html.tmpl
@@ -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>
diff --git a/template/en/default/whine/mail.txt.tmpl b/template/en/default/whine/mail.txt.tmpl
index 13216d895..eb6631fa5 100644
--- a/template/en/default/whine/mail.txt.tmpl
+++ b/template/en/default/whine/mail.txt.tmpl
@@ -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) %]