X-Git-Url: http://git.freeside.biz/gitweb/?p=freeside.git;a=blobdiff_plain;f=rt%2Fshare%2Fhtml%2FTicket%2FElements%2FShowAttachments;fp=rt%2Fshare%2Fhtml%2FTicket%2FElements%2FShowAttachments;h=b34f6737812d08d1ca8629e70be336a2f8ff798a;hp=a56784407cb4bc05bde8f02eab18f1e8a662f385;hb=7322f2afedcc2f427e997d1535a503613a83f088;hpb=ae14e320388fa5e7f400bff1c251ef885b7952e6 diff --git a/rt/share/html/Ticket/Elements/ShowAttachments b/rt/share/html/Ticket/Elements/ShowAttachments index a56784407..b34f67378 100755 --- a/rt/share/html/Ticket/Elements/ShowAttachments +++ b/rt/share/html/Ticket/Elements/ShowAttachments @@ -2,7 +2,7 @@ %# %# COPYRIGHT: %# -%# This software is Copyright (c) 1996-2015 Best Practical Solutions, LLC +%# This software is Copyright (c) 1996-2016 Best Practical Solutions, LLC %# %# %# (Except where explicitly superseded by other copyright notices) @@ -58,7 +58,7 @@ % foreach my $rev (@{$documents{$key}}) { % if ($rev->ContentLength) {
  • - + % my $desc = loc("[_1] ([_2]) by [_3]", $rev->CreatedAsString, $rev->FriendlyContentLength, $m->scomp('/Elements/ShowUser', User => $rev->CreatorObj)); <% $desc |n%> @@ -90,5 +90,6 @@ while ( my $attach = $Attachments->Next() ) { <%ARGS> $Ticket => undef $Attachments => undef +$DisplayPath => $session{'CurrentUser'}->Privileged ? 'Ticket' : 'SelfService'