Vitaliy Margolen : bugzilla: Move "Related actions" box to under "People".

Jeremy Newman jnewman at wine.codeweavers.com
Mon Sep 10 12:49:02 CDT 2007


Module: bugzilla
Branch: master
Commit: f2b9b8f501bebe17b923b4c80ce324233fc903d3
URL:    http://source.winehq.org/git/bugzilla.git/?a=commit;h=f2b9b8f501bebe17b923b4c80ce324233fc903d3

Author: Vitaliy Margolen <wine-patches at kievinfo.com>
Date:   Sun Sep  2 12:20:14 2007 -0600

bugzilla: Move "Related actions" box to under "People".

There are enough empty space under the "People" box. Fill it up.

---

 template/en/default/bug/edit.html.tmpl |   59 ++++++++++++++++++--------------
 1 files changed, 33 insertions(+), 26 deletions(-)

diff --git a/template/en/default/bug/edit.html.tmpl b/template/en/default/bug/edit.html.tmpl
index 1236a20..5a12dd5 100644
--- a/template/en/default/bug/edit.html.tmpl
+++ b/template/en/default/bug/edit.html.tmpl
@@ -140,7 +140,7 @@
   [%# That's the main table, which contains all editable fields. %]
   <table>
     <tr>
-      <td valign="top">
+      <td valign="top" rowspan="2">
         <fieldset>
           <legend>Details</legend>
           <table>
@@ -305,6 +305,37 @@
         [% END %]
       </td>
     </tr>
+    [%# Related actions block #%]
+    <tr>
+      <td valign="bottom">
+        <fieldset>
+          <legend>Related actions</legend>
+          <ul>
+            <li><a href="show_activity.cgi?id=[% bug.bug_id %]">View [% terms.Bug %] Activity</a></li>
+            <li><a href="show_bug.cgi?format=multiple&amp;id=[% bug.bug_id %]">Format For Printing</a></li>
+            <li><a href="show_bug.cgi?ctype=xml&amp;id=[% bug.bug_id %]">XML</a></li>
+            <li><a href="enter_bug.cgi?cloned_bug_id=[% bug.bug_id %]">Clone This [% terms.Bug %]</a></li>
+          </ul>
+
+          [% IF bug.use_votes %]
+            <br>
+            <b><a href="page.cgi?id=voting.html">Votes</a></b>: [% bug.votes %]
+            <ul>
+              [% IF bug.votes %]
+                <li><a href="votes.cgi?action=show_bug&amp;bug_id=[% bug.bug_id %]">Show
+                             votes for this [% terms.bug %]</a></li>
+              [% END %]
+              <li><a href="votes.cgi?action=show_user&amp;bug_id=[% bug.bug_id %]#vote_[% bug.bug_id %]">Vote
+                           for this [% terms.bug %]</a></li>
+            </ul>
+          [% END %]
+
+          [%# Links to more things users can do with this bug. %]
+          [% Hook.process("links") %]
+        </fieldset>
+      </td>
+    </tr>
+
   </table>
 
   [% IF user.in_group(Param('timetrackinggroup')) %]
@@ -443,31 +474,7 @@
       </td>
 
       <td valign="top">
-        <fieldset>
-          <legend>Related actions</legend>
-          <ul>
-            <li><a href="show_activity.cgi?id=[% bug.bug_id %]">View [% terms.Bug %] Activity</a></li>
-            <li><a href="show_bug.cgi?format=multiple&amp;id=[% bug.bug_id %]">Format For Printing</a></li>
-            <li><a href="show_bug.cgi?ctype=xml&amp;id=[% bug.bug_id %]">XML</a></li>
-            <li><a href="enter_bug.cgi?cloned_bug_id=[% bug.bug_id %]">Clone This [% terms.Bug %]</a></li>
-          </ul>
-
-          [% IF bug.use_votes %]
-            <br>
-            <b><a href="page.cgi?id=voting.html">Votes</a></b>: [% bug.votes %]
-            <ul>
-              [% IF bug.votes %]
-                <li><a href="votes.cgi?action=show_bug&amp;bug_id=[% bug.bug_id %]">Show
-                             votes for this [% terms.bug %]</a></li>
-              [% END %]
-              <li><a href="votes.cgi?action=show_user&amp;bug_id=[% bug.bug_id %]#vote_[% bug.bug_id %]">Vote
-                           for this [% terms.bug %]</a></li>
-            </ul>
-          [% END %]
-
-          [%# Links to more things users can do with this bug. %]
-          [% Hook.process("links") %]
-        </fieldset>
+        &nbsp;
       </td>
     </tr>
   </table>




More information about the wine-cvs mailing list