[Rt-commit] [svn] r977 - in RT-Scope/trunk/html/Scope: . Elements

jesse at pallas.eruditorum.org jesse at pallas.eruditorum.org
Fri May 28 17:12:13 EDT 2004


Author: jesse
Date: Fri May 28 17:12:12 2004
New Revision: 977

Modified:
   RT-Scope/trunk/html/Scope/Elements/ShowHistory
   RT-Scope/trunk/html/Scope/Elements/ShowHistoryView
   RT-Scope/trunk/html/Scope/History.html
Log:
fixing functionality for 3.0

Modified: RT-Scope/trunk/html/Scope/Elements/ShowHistory
==============================================================================
--- RT-Scope/trunk/html/Scope/Elements/ShowHistory	(original)
+++ RT-Scope/trunk/html/Scope/Elements/ShowHistory	Fri May 28 17:12:12 2004
@@ -68,7 +68,7 @@
 % if ($ShowDisplayModes or $ShowTitle) {
 <& /Elements/TitleBoxEnd &>
 % }
-<A name="end">&nbsp;</a>
+<A name="end"></a>
 
 <%INIT>
 

Modified: RT-Scope/trunk/html/Scope/Elements/ShowHistoryView
==============================================================================
--- RT-Scope/trunk/html/Scope/Elements/ShowHistoryView	(original)
+++ RT-Scope/trunk/html/Scope/Elements/ShowHistoryView	Fri May 28 17:12:12 2004
@@ -21,25 +21,24 @@
 %# 
 %# 
 %# END LICENSE BLOCK
-<& ShowSummary,  Ticket => $Ticket &>
+<& /Ticket/Elements/ShowSummary,  Ticket => $Ticket,Attachments => $attachments &>
 
-<& ShowHistory , Ticket => $Ticket, ShowHeaders => $ARGS{'ShowHeaders'}, URIFile => 'History.html' &> 
+<& ShowHistory , Ticket => $Ticket, ShowHeaders => $ARGS{'ShowHeaders'}, URIFile => 'History.html',      Attachments => $attachments,
+      AttachmentContent => $attachment_content
+      &> 
 <%ARGS>
 $id => undef
 </%ARGS>
-
 <%INIT>
 
-  
 
 my $Ticket = LoadTicket ($id);
 
 unless ($Ticket->CurrentUserHasRight('ShowTicket')) {
 	Abort("No permission to view ticket");
 }
-
-</%INIT>
-
-
+my $attachments = $m->comp('/Ticket/Elements/FindAttachments', Ticket => $Ticket);
+my $attachment_content = $m->comp('/Ticket/Elements/LoadTextAttachments', Ticket => $Ticket);
 
 
+</%INIT>

Modified: RT-Scope/trunk/html/Scope/History.html
==============================================================================
--- RT-Scope/trunk/html/Scope/History.html	(original)
+++ RT-Scope/trunk/html/Scope/History.html	Fri May 28 17:12:12 2004
@@ -29,4 +29,4 @@
 <link rel="stylesheet" href="<%$RT::WebPath%>/NoAuth/webrt.css" type="text/css">
 </HEAD>
 <BODY>
-<& Elements/ShowHistoryView, %ARGS &>;
+<& Elements/ShowHistoryView, %ARGS &>


More information about the Rt-commit mailing list