]> git.ipfire.org Git - thirdparty/bugzilla.git/commitdiff
Bug 286374 - Platform and OS lose their hyperlinks (in create) when viewing
authorSunil Joshi <joshi_sunil@in.com>
Tue, 30 Oct 2012 21:35:21 +0000 (17:35 -0400)
committerDave Lawrence <dlawrence@mozilla.com>
Tue, 30 Oct 2012 21:35:21 +0000 (17:35 -0400)
r=dkl, a=LpSolit

template/en/default/bug/edit.html.tmpl

index 71afc09dc3c3e5cfd74e22c3df92b6d8656847ae..e11e244f646f71dbfb116f03230bd344e178955b 100644 (file)
       %]
     </tr>
     <tr>
-      <th class="field_label">
-        <label for="version">Version</label>:
-      </th>
-
+      [% INCLUDE "bug/field-label.html.tmpl"
+        field = bug_fields.version editable = 1 %]
+        
       [% PROCESS select selname => "version" %]
     </tr>
     [%############%]    
     [%# PLATFORM #%]
     [%############%]    
     <tr>
-      <th class="field_label">
-        <label for="rep_platform" accesskey="h">
-          [% field_descs.rep_platform FILTER html %]</label>:
-      </th>
+      [% INCLUDE "bug/field-label.html.tmpl"
+        field = bug_fields.
+        rep_platform editable = 1
+        accesskey = "h"
+      %]
       <td class="field_value">
        [% INCLUDE bug/field.html.tmpl
             bug = bug, field = bug_fields.rep_platform,
 
     [% IF Param('useqacontact') %]
     <tr>
-      <th class="field_label">
-        <label for="qa_contact" accesskey="q"><u>Q</u>A Contact</label>:
-      </th>
+      [% INCLUDE "bug/field-label.html.tmpl"
+        field = bug_fields.qa_contact
+        editable = 1
+        accesskey = "q"
+      %]
       <td>
         [% IF bug.check_can_change_field("qa_contact", 0, 1) %]
           <div id="bz_qa_contact_edit_container" class="bz_default_hidden">
   
   [% IF Param('usestatuswhiteboard') %]
     <tr>
-      <th class="field_label">
-        <label for="status_whiteboard" accesskey="w"><u>W</u>hiteboard</label>:
-      </th>
+      [% INCLUDE "bug/field-label.html.tmpl"
+        field = bug_fields.status_whiteboard
+        editable = 1
+        accesskey = "w"
+      %]
       [% PROCESS input inputname => "status_whiteboard" size => "40" colspan => 2 %]
     </tr>
   [% END %]