X-Git-Url: http://git.freeside.biz/gitweb/?p=freeside.git;a=blobdiff_plain;f=rt%2Fshare%2Fhtml%2FTicket%2FHistory.html;h=95d5aace9fb9d1202d1d940f93f4ef4a17c1159b;hp=afc174fd6fc8325c0cbac295c9bfe1e32ecc3ba6;hb=44dd00a3ff974a17999e86e64488e996edc71e3c;hpb=f3c4966ed1f6ec3db7accd6dcdd3a5a3821d72a7 diff --git a/rt/share/html/Ticket/History.html b/rt/share/html/Ticket/History.html index afc174fd6..95d5aace9 100755 --- a/rt/share/html/Ticket/History.html +++ b/rt/share/html/Ticket/History.html @@ -2,7 +2,7 @@ %# %# COPYRIGHT: %# -%# This software is Copyright (c) 1996-2012 Best Practical Solutions, LLC +%# This software is Copyright (c) 1996-2019 Best Practical Solutions, LLC %# %# %# (Except where explicitly superseded by other copyright notices) @@ -45,7 +45,7 @@ %# 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' ); @@ -53,12 +53,12 @@
-<& /Ticket/Elements/ShowHistory , - Ticket => $Ticket, +<& /Elements/ShowHistory, + Object => $Ticket, ShowHeaders => $ARGS{'ShowHeaders'}, - URIFile => 'History.html', Attachments => $attachments, - AttachmentContent => $attachment_content + AttachmentContent => $attachment_content, + DisplayPath => 'History.html', &> % $m->callback( %ARGS, CallbackName => 'AfterShowHistory', Ticket => $Ticket ); @@ -77,9 +77,8 @@ unless ($Ticket->CurrentUserHasRight('ShowTicket')) { 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;