From: Matt Selsky Date: Wed, 19 Oct 2011 16:49:41 +0000 (-0200) Subject: Bug 451804: Change templates to use field_descs.rep_platform X-Git-Tag: bugzilla-4.3.1~220 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=95dc8c6a81239393f9324c4f38c7853216303bf5;p=thirdparty%2Fbugzilla.git Bug 451804: Change templates to use field_descs.rep_platform instead o hard coded 'Platform'. r=timello, a=LpSolit --- diff --git a/template/en/default/bug/create/create-guided.html.tmpl b/template/en/default/bug/create/create-guided.html.tmpl index 9c01e23428..484933231a 100644 --- a/template/en/default/bug/create/create-guided.html.tmpl +++ b/template/en/default/bug/create/create-guided.html.tmpl @@ -217,7 +217,7 @@ function PutDescription() { - Hardware Platform + [% field_descs.rep_platform FILTER html %] [% PROCESS select sel = 'rep_platform' %] diff --git a/template/en/default/bug/edit.html.tmpl b/template/en/default/bug/edit.html.tmpl index 6a7f76c876..99b231c8e3 100644 --- a/template/en/default/bug/edit.html.tmpl +++ b/template/en/default/bug/edit.html.tmpl @@ -297,7 +297,8 @@ [%############%] - : + : [% INCLUDE bug/field.html.tmpl diff --git a/template/en/default/list/edit-multiple.html.tmpl b/template/en/default/list/edit-multiple.html.tmpl index c51dc233a3..e1ffa8770c 100644 --- a/template/en/default/list/edit-multiple.html.tmpl +++ b/template/en/default/list/edit-multiple.html.tmpl @@ -95,7 +95,8 @@ diff --git a/template/en/default/list/table.html.tmpl b/template/en/default/list/table.html.tmpl index 2b266d4ce9..80ea38773c 100644 --- a/template/en/default/list/table.html.tmpl +++ b/template/en/default/list/table.html.tmpl @@ -46,7 +46,7 @@ { "bug_severity" => { maxlength => 3 , title => "Sev" } , "priority" => { maxlength => 7 , title => "Pri" } , - "rep_platform" => { maxlength => 3 , title => "Plt" } , + "rep_platform" => { maxlength => 3 , title => "HW" } , "bug_status" => { maxlength => 4 } , "assigned_to" => { maxlength => 30 , ellipsis => "..." } , "assigned_to_realname" => { maxlength => 20 , ellipsis => "..." } , diff --git a/template/en/default/pages/bug-writing.html.tmpl b/template/en/default/pages/bug-writing.html.tmpl index ec997be0a4..171699ffe9 100644 --- a/template/en/default/pages/bug-writing.html.tmpl +++ b/template/en/default/pages/bug-writing.html.tmpl @@ -139,7 +139,8 @@ The window should scroll downwards. Scrolled content should be selected. -

Build Date & Platform: Date and platform of the build +

Build Date & [% field_descs.rep_platform FILTER html %]: + Date and [% field_descs.rep_platform FILTER lower FILTER html %] of the build in which you first encountered the [% terms.bug %].

diff --git a/template/en/default/pages/release-notes.html.tmpl b/template/en/default/pages/release-notes.html.tmpl index e21ce2ed71..54a3c37b25 100644 --- a/template/en/default/pages/release-notes.html.tmpl +++ b/template/en/default/pages/release-notes.html.tmpl @@ -1271,10 +1271,11 @@
  • 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.
  • -
  • Searching the Platform and OS fields if you typed in one of a - certain hard-coded list of strings (like "pc", "windows", etc.). - You can explicitly search these fields, instead, if you want to - find [% terms.bugs %] with a specific Platform or OS set.
  • +
  • Searching the [% field_descs.rep_platform FILTER html %] and OS fields + if you typed in one of a certain hard-coded list of strings (like "pc", + "windows", etc.). You can explicitly search these fields, instead, if you want + to find [% terms.bugs %] with a specific [% field_descs.rep_platform + FILTER html %] or OS set.
  • Simple "Browse" Interface

    diff --git a/template/en/default/whine/mail.html.tmpl b/template/en/default/whine/mail.html.tmpl index ae4f00cfc4..ae51ffed7c 100644 --- a/template/en/default/whine/mail.html.tmpl +++ b/template/en/default/whine/mail.html.tmpl @@ -63,7 +63,7 @@ ID Sev Pri - Plt + HW Assignee Status Resolution diff --git a/template/en/default/whine/mail.txt.tmpl b/template/en/default/whine/mail.txt.tmpl index aa830243d7..d6b43de6b7 100644 --- a/template/en/default/whine/mail.txt.tmpl +++ b/template/en/default/whine/mail.txt.tmpl @@ -48,7 +48,7 @@ [%+ urlbase %]show_bug.cgi?id=[% bug.bug_id +%] Priority: [%+ display_value("priority", bug.priority) -%] [% field_descs.bug_severity %]: [%+ display_value("bug_severity", bug.bug_severity) -%] - Platform: [%+ display_value("rep_platform", bug.rep_platform) %] + [%+ field.descs.rep_platform %]: [%+ display_value("rep_platform", bug.rep_platform) %] Assignee: [%+ bug.assigned_to %] Status: [%+ display_value("bug_status", bug.bug_status) %] [%- IF bug.resolution -%] Resolution: [% display_value("resolution", bug.resolution) -%]