]> git.ipfire.org Git - thirdparty/bugzilla.git/commitdiff
Bug 451804: Change templates to use field_descs.rep_platform
authorMatt Selsky <selsky@columbia.edu>
Wed, 19 Oct 2011 16:49:41 +0000 (14:49 -0200)
committerTiago Mello <timello@gmail.com>
Wed, 19 Oct 2011 16:49:41 +0000 (14:49 -0200)
instead o hard coded 'Platform'.
r=timello, a=LpSolit

template/en/default/bug/create/create-guided.html.tmpl
template/en/default/bug/edit.html.tmpl
template/en/default/list/edit-multiple.html.tmpl
template/en/default/list/table.html.tmpl
template/en/default/pages/bug-writing.html.tmpl
template/en/default/pages/release-notes.html.tmpl
template/en/default/whine/mail.html.tmpl
template/en/default/whine/mail.txt.tmpl

index 9c01e23428a901737b086f722c53eb5ba9309f9e..484933231a09340ae6a053ef6fd4bddbbdbc7e76 100644 (file)
@@ -217,7 +217,7 @@ function PutDescription() {
 
   <tr bgcolor="[% tablecolour %]">
     <td align="right" valign="top">
-      <b>Hardware Platform</b>
+      <b>[% field_descs.rep_platform FILTER html %]</b>
     </td>
     <td valign="top">
       [% PROCESS select sel = 'rep_platform' %]
index 6a7f76c876c96ce40a3bf0b3513cadf75806970f..99b231c8e3d3b23992f2490084d2b38282ff9349 100644 (file)
     [%############%]    
     <tr>
       <td class="field_label">
-        <label for="rep_platform" accesskey="h"><b>Platform</b></label>:
+        <label for="rep_platform" accesskey="h">
+          <b>[% field_descs.rep_platform FILTER html %]</b></label>:
       </td>
       <td class="field_value">
        [% INCLUDE bug/field.html.tmpl
index c51dc233a3b722a5f444e3f235cc488590659d70..e1ffa8770c1a836fca4c47390fc4691f21428849 100644 (file)
@@ -95,7 +95,8 @@
 
     <th>
       <label for="rep_platform">
-        <a href="page.cgi?id=fields.html#rep_platform">Platform</a>:
+        <a href="page.cgi?id=fields.html#rep_platform">
+          [% field_descs.rep_platform FILTER html %]</a>:
       </label>
     </th>
     <td>
index 2b266d4ce9625d78909c869849b59d00d4585904..80ea38773cce80b1b348cd5cb4ceb05997e45fb2 100644 (file)
@@ -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 => "..." } , 
index ec997be0a43e83d465618b29aeffbe20d8e32f57..171699ffe90473fcd1ba75575287adc2f0868006 100644 (file)
@@ -139,7 +139,8 @@ The window should scroll downwards. Scrolled content should be selected.
 </pre>
       </blockquote>
 
-      <p><b>Build Date &amp; Platform:</b> Date and platform of the build
+      <p><b>Build Date &amp; [% field_descs.rep_platform FILTER html %]:</b>
+      Date and [% field_descs.rep_platform FILTER lower FILTER html %] of the build
       in which you first encountered the [% terms.bug %].</p>
 
       <blockquote>
index e21ce2ed716b1835b81040fa5c9903153e39dd78..54a3c37b25b439bfd56e7a0b590cdf9ad980dd66 100644 (file)
   <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>
-  <li>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.</li>
+  <li>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.</li>
 </ul>
 
 <h3 id="v36_feat_browse">Simple "Browse" Interface</h3>
index ae4f00cfc4332d7b7d946a649d91efccd227a430..ae51ffed7c2d76cdfbb7a64b8e97743b3015ce80 100644 (file)
@@ -63,7 +63,7 @@
         <th align="left">ID</th>
         <th align="left">Sev</th>
         <th align="left">Pri</th> 
-        <th align="left">Plt</th>
+        <th align="left">HW</th>
         <th align="left">Assignee</th>
         <th align="left">Status</th>
         <th align="left">Resolution</th>
index aa830243d7034ee75d7808344685c944d1aaec50..d6b43de6b7c33cbf6940ba1cd99e7b7c58158f28 100644 (file)
@@ -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) -%]