[Rt-commit] rt branch, 4.2/showemail-updates, repushed
Jim Brandt
jbrandt at bestpractical.com
Mon Nov 25 16:43:57 EST 2013
The branch 4.2/showemail-updates was deleted and repushed:
was 444acdb3e85b687db12593e752accefc7999d9bc
now d4a9359c692ecf38e763a7df6049e6f112be406e
1: f6485bc < -: ------- Update title to describe what page is
-: ------- > 1: 6ac2319 Update title to describe what page is
2: 444acdb ! 2: d4a9359 Check rights on show email page
@@ -16,20 +16,10 @@
--- a/share/html/Ticket/ShowEmailRecord.html
+++ b/share/html/Ticket/ShowEmailRecord.html
@@
- Abort(loc("Attachment '[_1]' could not be loaded", $Attachment));
- }
-+my $title = loc("Email Source for Ticket [_1], Attachment [_2]",
-+ $AttachmentObj->TransactionObj->ObjectId,
-+ $AttachmentObj->Id);
-+
</%INIT>
--<& /Elements/Header, ShowBar => 0,
-- Title => 'Email Source for Ticket '
-- . $AttachmentObj->TransactionObj->ObjectId
-- . ', Attachment ' . $AttachmentObj->Id &>
+ <& /Elements/Header, ShowBar => 0, Title => $title &>
-% $show->( $AttachmentObj );
-+<& /Elements/Header, ShowBar => 0, Title => $title &>
+% if ( $AttachmentObj->TransactionObj->CurrentUserCanSee("Transaction")){
+% $show->( $AttachmentObj );
+% }
More information about the rt-commit
mailing list