From 72839930451ca44afd7431471654067fa8b19e42 Mon Sep 17 00:00:00 2001 From: Matt Selsky Date: Tue, 9 Aug 2011 15:30:08 -0700 Subject: Bug 451801: Make all pages use field_descs.bug_severity instead of a hard-coded "Severity" r=mkanat, a=mkanat --- template/en/default/bug/create/create-guided.html.tmpl | 4 ++-- template/en/default/list/edit-multiple.html.tmpl | 5 +++-- template/en/default/pages/release-notes.html.tmpl | 9 ++++++--- template/en/default/whine/mail.txt.tmpl | 5 ++--- 4 files changed, 13 insertions(+), 10 deletions(-) (limited to 'template') 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() { - Severity + [% field_descs.bug_severity FILTER html %] @@ -107,7 +107,8 @@ 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 @@
  • + as a prefix to mean "search additional resolutions", and + as a prefix to mean "search just the summary". You can instead use summary: to explicitly search summaries.
  • -
  • 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.
  • +
  • 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 %].
  • 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.
  • 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) %] -- cgit v1.2.3-24-g4f1b