[Rt-commit] [svn] r1351 - rt/branches/3.2-RELEASE/html/Ticket/Elements

alexmv at pallas.eruditorum.org alexmv at pallas.eruditorum.org
Wed Aug 18 17:53:17 EDT 2004


Author: alexmv
Date: Wed Aug 18 17:53:17 2004
New Revision: 1351

Modified:
   rt/branches/3.2-RELEASE/html/Ticket/Elements/ShowHistory
   rt/branches/3.2-RELEASE/html/Ticket/Elements/ShowTransaction
Log:
RT-Ticket: 5792
RT-Update: correspond
RT-Status: resolved

 * Move the lasttrans anchor into a table cell


Modified: rt/branches/3.2-RELEASE/html/Ticket/Elements/ShowHistory
==============================================================================
--- rt/branches/3.2-RELEASE/html/Ticket/Elements/ShowHistory	(original)
+++ rt/branches/3.2-RELEASE/html/Ticket/Elements/ShowHistory	Wed Aug 18 17:53:17 2004
@@ -94,8 +94,6 @@
     next if $skip;
     $i++;
 
-    $m->out('<a name="lasttrans"></a>') if ( $Transactions->IsLast );
-
     my @trans_attachments = grep { $_->TransactionId == $Transaction->Id } @attachments;
 
     my $trans_content = {};
@@ -115,7 +113,8 @@
               RowNum               => $i,
               ShowTitleBarCommands => $ShowTitleBarCommands,
               Attachments          => \@trans_attachments,
-              AttachmentContent    => $trans_content
+              AttachmentContent    => $trans_content,
+              LastTransaction      => $Transactions->IsLast
  );
 }
 

Modified: rt/branches/3.2-RELEASE/html/Ticket/Elements/ShowTransaction
==============================================================================
--- rt/branches/3.2-RELEASE/html/Ticket/Elements/ShowTransaction	(original)
+++ rt/branches/3.2-RELEASE/html/Ticket/Elements/ShowTransaction	Wed Aug 18 17:53:17 2004
@@ -44,7 +44,7 @@
 %# 
 %# }}} END BPS TAGGED BLOCK
 <TR class="<% $RowNum%2 ? 'oddline' : 'evenline'%>" >
-<TD rowspan="2" valign="top" bgcolor="<%$bgcolor%>"><A NAME="txn-<%$Transaction->Id%>" href="#txn-<%$Transaction->Id%>">#</A>&nbsp;</TD>
+<TD rowspan="2" valign="top" bgcolor="<%$bgcolor%>"><A NAME="txn-<%$Transaction->Id%>" href="#txn-<%$Transaction->Id%>">#</A><% $LastTransaction ? '<a name="lasttrans">&nbsp;</a>' : '&nbsp;' |n %></TD>
 <TD>&nbsp&nbsp;</TD>
 <TD><font size=-2><% $transdate|n %></font>&nbsp;</TD>
 % my $desc = $Transaction->BriefDescription;
@@ -73,6 +73,7 @@
 $Attachments => undef
 $AttachmentContent => undef
 $ShowBody => 1
+$LastTransaction => 0
 </%ARGS>
 
 <%INIT>


More information about the Rt-commit mailing list