]> git.ipfire.org Git - thirdparty/bugzilla.git/commitdiff
Bug 452888: The status selector is too far from the comment box, leading to a serious...
authorguy.pyrzak%gmail.com <>
Wed, 5 Nov 2008 01:31:14 +0000 (01:31 +0000)
committerguy.pyrzak%gmail.com <>
Wed, 5 Nov 2008 01:31:14 +0000 (01:31 +0000)
Patch By Guy Pyrzak <guy.pyrzak@gmail.com> r=mkanat, a=mkanat

skins/standard/show_bug.css
template/en/default/bug/edit.html.tmpl
template/en/default/bug/knob.html.tmpl

index 3851315da4672d80c2a1bd51f50baf219e0e5de0..cd75ddd43bee5447d4b14bf1858c390d365be1da 100644 (file)
 .bz_time_tracking_table .bz_summarize_time {
     text-align: right;
 }
+
 #summary tr td { 
     vertical-align:top;
 }
+
+#status { 
+    margin-bottom: 3ex;
+}
index 53efa0cb9c8b224012b1d4f601612e1182643668..87f39bc88e0a244ea9466d49ed44142eb4fe4b01 100644 (file)
                      cols      = constants.COMMENT_COLS
           %]
           <br>
+          <a name="bug_status_bottom"></a>
+          [% PROCESS bug/knob.html.tmpl %]
           <div id="knob-buttons">
             <input type="submit" value="Commit" id="commit">
             [% IF bug.user.canmove %]
       <b><a href="page.cgi?id=fields.html#status">Status</a></b>:
     </td>
     <td id="bz_field_status">
-      [% PROCESS bug/knob.html.tmpl %]
+      <span id="static_bug_status">
+        [% get_status(bug.bug_status) FILTER html %]
+        [% IF bug.resolution %]
+          [%+ get_resolution(bug.resolution) FILTER html %]
+          [% IF bug.dup_id %]
+            <span id="duplicate_display">of 
+            [% "${terms.bug} ${bug.dup_id}" FILTER bug_link(bug.dup_id) FILTER none %]</span>
+          [% END %]
+        [% END %]
+        [% IF bug.user.canedit || bug.user.isreporter %]
+          (<a href="#bug_status_bottom" 
+              onclick="document.getElementById('bug_status').focus();return false;">edit</a>)
+        [% END %]
+      </span>
     </td>
   </tr>
 [% END %]
index 4cf6031e7e74dc25b865407ad91ca5ddda432236..24a3b41287821a33d9c4abe747310d2fa5eaebe0 100644 (file)
@@ -23,6 +23,7 @@
 
 [% PROCESS global/variables.none.tmpl %]
 <div id="status">
+  <a name="bug_status"></a>
   [% initial_action_shown = 0 %]
   [% show_resolution = 0 %]
   [% bug_status_select_displayed = 0 %]