[Rt-commit] rtir branch, 4.0/less-empty-space-on-display, created. 4.0.0-49-g808c090

Jim Brandt jbrandt at bestpractical.com
Fri Jun 30 13:56:13 EDT 2017


The branch, 4.0/less-empty-space-on-display has been created
        at  808c0903bd1a3ae8fd5c62edcd0a52063f526280 (commit)

- Log -----------------------------------------------------------------
commit 808c0903bd1a3ae8fd5c62edcd0a52063f526280
Author: Jim Brandt <jbrandt at bestpractical.com>
Date:   Fri Jun 30 13:51:48 2017 -0400

    Remove extra table row at bottom of RTIR ticket display
    
    RTIR ticket display had an extra table row at the bottom of
    the page such that if a ticket had a large number of custom
    fields, the More about requestors box would be pushed way down
    the page, creating a large amount of empty white space above
    and to the left of it.
    
    Move the components from the extra row into the same positions in
    the row above, allowing all components to display below the ones
    above them.

diff --git a/html/RTIR/Display.html b/html/RTIR/Display.html
index ba0c582..e1a429b 100644
--- a/html/RTIR/Display.html
+++ b/html/RTIR/Display.html
@@ -112,6 +112,9 @@
 
 <& /RTIR/Elements/ShowArticles, Ticket => $Ticket &>
 
+<& /Ticket/Elements/ShowAttachments, Ticket => $Ticket,
+   Attachments => $attachments &>
+
 </td> <td class="boxcontainer" valign="top">
 % $m->callback( %ARGS, Ticket => $Ticket, CallbackName => 'RightColumnStart' );
 
@@ -129,15 +132,6 @@
     <& /RTIR/Elements/ShowDates, Ticket => $Ticket &>
     </&>
     <br />  
-  </td>
-</tr>
-
-<tr>
-  <td class="boxcontainer" valign="top">
-    <& /Ticket/Elements/ShowAttachments, Ticket => $Ticket, 
-       Attachments => $attachments &>
-  </td>
-  <td class="boxcontainer" valign="top">
       <& /Ticket/Elements/ShowRequestor, Ticket => $Ticket, DisplayPath => RT::IR->HREFTo("Display.html") &>
   </td>
 </tr>

-----------------------------------------------------------------------


More information about the rt-commit mailing list