Commit 95dc8c6a authored by Matt Selsky's avatar Matt Selsky Committed by Tiago Mello

Bug 451804: Change templates to use field_descs.rep_platform

instead o hard coded 'Platform'. r=timello, a=LpSolit
parent b9cf9c6a
...@@ -217,7 +217,7 @@ function PutDescription() { ...@@ -217,7 +217,7 @@ function PutDescription() {
<tr bgcolor="[% tablecolour %]"> <tr bgcolor="[% tablecolour %]">
<td align="right" valign="top"> <td align="right" valign="top">
<b>Hardware Platform</b> <b>[% field_descs.rep_platform FILTER html %]</b>
</td> </td>
<td valign="top"> <td valign="top">
[% PROCESS select sel = 'rep_platform' %] [% PROCESS select sel = 'rep_platform' %]
......
...@@ -297,7 +297,8 @@ ...@@ -297,7 +297,8 @@
[%############%] [%############%]
<tr> <tr>
<td class="field_label"> <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>
<td class="field_value"> <td class="field_value">
[% INCLUDE bug/field.html.tmpl [% INCLUDE bug/field.html.tmpl
......
...@@ -95,7 +95,8 @@ ...@@ -95,7 +95,8 @@
<th> <th>
<label for="rep_platform"> <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> </label>
</th> </th>
<td> <td>
......
...@@ -46,7 +46,7 @@ ...@@ -46,7 +46,7 @@
{ {
"bug_severity" => { maxlength => 3 , title => "Sev" } , "bug_severity" => { maxlength => 3 , title => "Sev" } ,
"priority" => { maxlength => 7 , title => "Pri" } , "priority" => { maxlength => 7 , title => "Pri" } ,
"rep_platform" => { maxlength => 3 , title => "Plt" } , "rep_platform" => { maxlength => 3 , title => "HW" } ,
"bug_status" => { maxlength => 4 } , "bug_status" => { maxlength => 4 } ,
"assigned_to" => { maxlength => 30 , ellipsis => "..." } , "assigned_to" => { maxlength => 30 , ellipsis => "..." } ,
"assigned_to_realname" => { maxlength => 20 , ellipsis => "..." } , "assigned_to_realname" => { maxlength => 20 , ellipsis => "..." } ,
......
...@@ -139,7 +139,8 @@ The window should scroll downwards. Scrolled content should be selected. ...@@ -139,7 +139,8 @@ The window should scroll downwards. Scrolled content should be selected.
</pre> </pre>
</blockquote> </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> in which you first encountered the [% terms.bug %].</p>
<blockquote> <blockquote>
......
...@@ -1271,10 +1271,11 @@ ...@@ -1271,10 +1271,11 @@
<li>Searching the Priority field if you typed something that exactly <li>Searching the Priority field if you typed something that exactly
matched the name of a priority. You can explicitly search the matched the name of a priority. You can explicitly search the
Priority field if you want to find [% terms.bugs %] by priority.</li> 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 <li>Searching the [% field_descs.rep_platform FILTER html %] and OS fields
certain hard-coded list of strings (like "pc", "windows", etc.). if you typed in one of a certain hard-coded list of strings (like "pc",
You can explicitly search these fields, instead, if you want to "windows", etc.). You can explicitly search these fields, instead, if you want
find [% terms.bugs %] with a specific Platform or OS set.</li> to find [% terms.bugs %] with a specific [% field_descs.rep_platform
FILTER html %] or OS set.</li>
</ul> </ul>
<h3 id="v36_feat_browse">Simple "Browse" Interface</h3> <h3 id="v36_feat_browse">Simple "Browse" Interface</h3>
......
...@@ -63,7 +63,7 @@ ...@@ -63,7 +63,7 @@
<th align="left">ID</th> <th align="left">ID</th>
<th align="left">Sev</th> <th align="left">Sev</th>
<th align="left">Pri</th> <th align="left">Pri</th>
<th align="left">Plt</th> <th align="left">HW</th>
<th align="left">Assignee</th> <th align="left">Assignee</th>
<th align="left">Status</th> <th align="left">Status</th>
<th align="left">Resolution</th> <th align="left">Resolution</th>
......
...@@ -48,7 +48,7 @@ ...@@ -48,7 +48,7 @@
[%+ urlbase %]show_bug.cgi?id=[% bug.bug_id +%] [%+ urlbase %]show_bug.cgi?id=[% bug.bug_id +%]
Priority: [%+ display_value("priority", bug.priority) -%] Priority: [%+ display_value("priority", bug.priority) -%]
[% field_descs.bug_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) %] [%+ field.descs.rep_platform %]: [%+ display_value("rep_platform", bug.rep_platform) %]
Assignee: [%+ bug.assigned_to %] Assignee: [%+ bug.assigned_to %]
Status: [%+ display_value("bug_status", bug.bug_status) %] Status: [%+ display_value("bug_status", bug.bug_status) %]
[%- IF bug.resolution -%] Resolution: [% display_value("resolution", bug.resolution) -%] [%- IF bug.resolution -%] Resolution: [% display_value("resolution", bug.resolution) -%]
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment