[Rt-commit] r3399 - in rt/branches/3.4-RELEASE: .
html/Ticket/Elements
alexmv at bestpractical.com
alexmv at bestpractical.com
Wed Jul 6 11:07:45 EDT 2005
Author: alexmv
Date: Wed Jul 6 11:07:45 2005
New Revision: 3399
Modified:
rt/branches/3.4-RELEASE/ (props changed)
rt/branches/3.4-RELEASE/html/Ticket/Elements/ShowHistory
rt/branches/3.4-RELEASE/html/Ticket/Elements/ShowTransaction
Log:
r4801 at zoq-fot-pik: chmrr | 2005-07-06 11:03:17 -0400
* Fix '#' links after ticket update
Modified: rt/branches/3.4-RELEASE/html/Ticket/Elements/ShowHistory
==============================================================================
--- rt/branches/3.4-RELEASE/html/Ticket/Elements/ShowHistory (original)
+++ rt/branches/3.4-RELEASE/html/Ticket/Elements/ShowHistory Wed Jul 6 11:07:45 2005
@@ -104,8 +104,8 @@
$m->comp( 'ShowTransaction',
%ARGS,
- AttachPath => $AttachPath,
- UpdatePath => $UpdatePath,
+ AttachPath => $AttachPath,
+ UpdatePath => $UpdatePath,
Ticket => $Ticket,
Transaction => $Transaction,
ShowHeaders => $ShowHeaders,
@@ -131,7 +131,7 @@
my $Transactions = new RT::Transactions($session{'CurrentUser'});
if ($Tickets) {
while (my $t = $Tickets->Next) {
- $Transactions->LimitToTicket($t->id);
+ $Transactions->LimitToTicket($t->id);
}
} else {
$Transactions = $Ticket->Transactions;
@@ -155,5 +155,4 @@
$ShowTitleBarCommands => 1
$AttachPath => $RT::WebPath."/Ticket/Attachment"
$UpdatePath => $RT::WebPath."/Ticket/Update.html"
-
</%ARGS>
Modified: rt/branches/3.4-RELEASE/html/Ticket/Elements/ShowTransaction
==============================================================================
--- rt/branches/3.4-RELEASE/html/Ticket/Elements/ShowTransaction (original)
+++ rt/branches/3.4-RELEASE/html/Ticket/Elements/ShowTransaction Wed Jul 6 11:07:45 2005
@@ -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><% $LastTransaction ? '<a name="lasttrans"> </a>' : ' ' |n %></TD>
+<TD rowspan="2" valign="top" bgcolor="<%$bgcolor%>"><A NAME="txn-<%$Transaction->Id%>" href="<% $DisplayPath %>#txn-<%$Transaction->Id%>">#</A><% $LastTransaction ? '<a name="lasttrans"> </a>' : ' ' |n %></TD>
<TD>  </TD>
<TD><font size=-2><% $transdate|n %></font> </TD>
% my $desc = $Transaction->BriefDescription;
@@ -70,6 +70,7 @@
$Collapsed => undef
$ShowTitleBarCommands => 1
$RowNum => 1
+$DisplayPath => $RT::WebPath."/Ticket/Display.html?id=".$Ticket->id
$AttachPath => $RT::WebPath."/Ticket/Attachment"
$UpdatePath => $RT::WebPath."/Ticket/Update.html"
$EmailRecordPath => $RT::WebPath."/Ticket/ShowEmailRecord.html"
More information about the Rt-commit
mailing list