Mailing List Archive

[svn] r589 - in rt/branches/rt-3.1: . html/SelfService html/Ticket/Elements
Author: jesse
Date: Wed Mar 17 00:36:39 2004
New Revision: 589

Modified:
rt/branches/rt-3.1/ (props changed)
rt/branches/rt-3.1/html/SelfService/Display.html
rt/branches/rt-3.1/html/Ticket/Elements/ShowHistory
rt/branches/rt-3.1/html/Ticket/Elements/ShowTransaction
Log:
Comment/Update links were broken after a quicksearch
----------------------------------------------------------------------


Modified: rt/branches/rt-3.1/html/SelfService/Display.html
==============================================================================
--- rt/branches/rt-3.1/html/SelfService/Display.html (original)
+++ rt/branches/rt-3.1/html/SelfService/Display.html Wed Mar 17 00:36:39 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/branches/rt-3.1/html/Ticket/Elements/ShowHistory
==============================================================================
--- rt/branches/rt-3.1/html/Ticket/Elements/ShowHistory (original)
+++ rt/branches/rt-3.1/html/Ticket/Elements/ShowHistory Wed Mar 17 00:36:39 2004
@@ -80,6 +80,8 @@
$m->comp( 'ShowTransaction',
%ARGS,

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

Modified: rt/branches/rt-3.1/html/Ticket/Elements/ShowTransaction
==============================================================================
--- rt/branches/rt-3.1/html/Ticket/Elements/ShowTransaction (original)
+++ rt/branches/rt-3.1/html/Ticket/Elements/ShowTransaction Wed Mar 17 00:36:39 2004
@@ -110,6 +110,7 @@
$ShowTitleBarCommands => 1
$RowNum => 1
$AttachPath => $RT::WebPath."/Ticket/Attachment"
+$UpdatePath => $RT::WebPath."/Ticket/Update.html"
$Attachments => undef
$ShowBody => 1
</%ARGS>
@@ -193,7 +194,7 @@
if ( $Attachments->[0] && $ShowTitleBarCommands ) {
if ( $Transaction->TicketObj->CurrentUserHasRight('ReplyToTicket') ) {
$titlebar_commands .=
- "[<a href=\"Update.html?id="
+ "[<a href=\"".$UpdatePath."?id="
. $Transaction->Ticket
. "&QuoteTransaction="
. $Transaction->Id
@@ -203,7 +204,7 @@
}
if ( $Transaction->TicketObj->CurrentUserHasRight('CommentOnTicket') ) {
$titlebar_commands .=
- "[<a href=\"Update.html?id="
+ "[<a href=\"".$UpdatePath."?id="
. $Transaction->Ticket
. "&QuoteTransaction="
. $Transaction->Id
_______________________________________________
Rt-commit mailing list
Rt-commit@lists.bestpractical.com
http://lists.bestpractical.com/mailman/listinfo/rt-commit