Mailing List Archive

[svn] r590 - in rt/trunk: . html/SelfService html/Ticket/Elements
Author: jesse
Date: Wed Mar 17 00:40:57 2004
New Revision: 590

Modified:
rt/trunk/ (props changed)
rt/trunk/html/SelfService/Display.html
rt/trunk/html/Ticket/Elements/ShowHistory
rt/trunk/html/Ticket/Elements/ShowTransaction
Log:

Merging back a fix to the "Comment/Reply" links after a quicksearch



Modified: rt/trunk/html/SelfService/Display.html
==============================================================================
--- rt/trunk/html/SelfService/Display.html (original)
+++ rt/trunk/html/SelfService/Display.html Wed Mar 17 00:40:57 2004
@@ -47,7 +47,7 @@


%#!!pape: selfservice_find_attachments.patch {{
-<& /Ticket/Elements/ShowHistory, Ticket => $Ticket, AttachPath => "Attachment", Attachments => $attachments &>
+<& /Ticket/Elements/ShowHistory, Ticket => $Ticket, AttachPath => "Attachment", Attachments => $attachments, UpdatePath => "Update.html" &>
%#!!pape: selfservice_find_attachments.patch }}



Modified: rt/trunk/html/Ticket/Elements/ShowHistory
==============================================================================
--- rt/trunk/html/Ticket/Elements/ShowHistory (original)
+++ rt/trunk/html/Ticket/Elements/ShowHistory Wed Mar 17 00:40:57 2004
@@ -84,6 +84,8 @@
$m->comp( 'ShowTransaction',
%ARGS,

+ AttachPath => $AttachPath,
+ UpdatePath => $UpdatePath,
Ticket => $Ticket,
Transaction => $Transaction,
ShowHeaders => $ShowHeaders,
@@ -122,4 +124,7 @@
$ShowTitle => 1
$ShowDisplayModes => 1
$ShowTitleBarCommands => 1
+$AttachPath => $RT::WebPath."/Ticket/Attachment"
+$UpdatePath => $RT::WebPath."/Ticket/Update.html"
+
</%ARGS>

Modified: rt/trunk/html/Ticket/Elements/ShowTransaction
==============================================================================
--- rt/trunk/html/Ticket/Elements/ShowTransaction (original)
+++ rt/trunk/html/Ticket/Elements/ShowTransaction Wed Mar 17 00:40:57 2004
@@ -125,6 +125,7 @@
$ShowTitleBarCommands => 1
$RowNum => 1
$AttachPath => $RT::WebPath."/Ticket/Attachment"
+$UpdatePath => $RT::WebPath."/Ticket/Update.html"
$Attachments => undef
$AttachmentContent => undef
</%ARGS>
@@ -178,13 +179,13 @@
if ($Attachments->[0] && $ShowTitleBarCommands) {
if ($Ticket->CurrentUserHasRight('ReplyToTicket')) {
$titlebar_commands .=
- "[.<a href=\"Update.html?id=".
+ "[<a href=\"".$UpdatePath."?id=".
$Transaction->Ticket . "&QuoteTransaction=".$Transaction->Id.
"&Action=Respond\">". loc('Reply') ."</a>]&nbsp;";
}
if ($Ticket->CurrentUserHasRight('CommentOnTicket')) {
$titlebar_commands .=
- "[<a href=\"Update.html?id=".$Transaction->Ticket.
+ "[<a href=\"".$UpdatePath."?id=".$Transaction->Ticket.
"&QuoteTransaction=".$Transaction->Id.
"&Action=Comment\">". loc('Comment') ."</a>]";
}
_______________________________________________
Rt-commit mailing list
Rt-commit@lists.bestpractical.com
http://lists.bestpractical.com/mailman/listinfo/rt-commit