From: Matt Selsky Date: Tue, 9 Aug 2011 22:30:08 +0000 (-0700) Subject: Bug 451801: Make all pages use field_descs.bug_severity instead of a hard-coded X-Git-Tag: bugzilla-4.3.1~297 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=72839930451ca44afd7431471654067fa8b19e42;p=thirdparty%2Fbugzilla.git Bug 451801: Make all pages use field_descs.bug_severity instead of a hard-coded "Severity" r=mkanat, a=mkanat --- diff --git a/template/en/default/bug/create/create-guided.html.tmpl b/template/en/default/bug/create/create-guided.html.tmpl index d10314628d..7c291d4ddd 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 a094b5cc22..ee3fed0ade 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 13216d895e..eb6631fa5c 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) %]