projects
/
freeside.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
rt 4.2.16
[freeside.git]
/
rt
/
share
/
html
/
Ticket
/
History.html
diff --git
a/rt/share/html/Ticket/History.html
b/rt/share/html/Ticket/History.html
index
8972fcd
..
95d5aac
100755
(executable)
--- a/
rt/share/html/Ticket/History.html
+++ b/
rt/share/html/Ticket/History.html
@@
-2,7
+2,7
@@
%#
%# COPYRIGHT:
%#
%#
%# COPYRIGHT:
%#
-%# This software is Copyright (c) 1996-201
3
Best Practical Solutions, LLC
+%# This software is Copyright (c) 1996-201
9
Best Practical Solutions, LLC
%# <sales@bestpractical.com>
%#
%# (Except where explicitly superseded by other copyright notices)
%# <sales@bestpractical.com>
%#
%# (Except where explicitly superseded by other copyright notices)
@@
-45,7
+45,7
@@
%# those contributions and any derivatives thereof.
%#
%# END BPS TAGGED BLOCK }}}
%# those contributions and any derivatives thereof.
%#
%# END BPS TAGGED BLOCK }}}
-<& /Elements/Header, Title => loc("Ticket History #
[_1]
[_2]", $Ticket->Id, $Ticket->Subject) &>
+<& /Elements/Header, Title => loc("Ticket History #
[_1]:
[_2]", $Ticket->Id, $Ticket->Subject) &>
<& /Elements/Tabs &>
% $m->callback( %ARGS, Ticket => $Ticket, CallbackName => 'BeforeActionList' );
<& /Elements/Tabs &>
% $m->callback( %ARGS, Ticket => $Ticket, CallbackName => 'BeforeActionList' );
@@
-53,12
+53,12
@@
<br />
<br />
-<& /
Ticket/Elements/ShowHistory ,
- Ticket => $Ticket,
+<& /
Elements/ShowHistory,
+ Object => $Ticket,
ShowHeaders => $ARGS{'ShowHeaders'},
ShowHeaders => $ARGS{'ShowHeaders'},
- URIFile => 'History.html',
Attachments => $attachments,
Attachments => $attachments,
- AttachmentContent => $attachment_content
+ AttachmentContent => $attachment_content,
+ DisplayPath => 'History.html',
&>
% $m->callback( %ARGS, CallbackName => 'AfterShowHistory', Ticket => $Ticket );
&>
% $m->callback( %ARGS, CallbackName => 'AfterShowHistory', Ticket => $Ticket );
@@
-77,9
+77,8
@@
unless ($Ticket->CurrentUserHasRight('ShowTicket')) {
Abort("No permission to view ticket");
}
Abort("No permission to view ticket");
}
-my $attachments = $m->comp('Elements/FindAttachments', Ticket => $Ticket);
-my $attachment_content = $m->comp('Elements/LoadTextAttachments', Ticket =>
-$Ticket);
+my $attachments = $Ticket->Attachments;
+my $attachment_content = $Ticket->TextAttachments;
</%INIT>
</%INIT>