[Rt-commit] rt branch, 4.2/showemail-updates, repushed

Jim Brandt jbrandt at bestpractical.com
Mon Nov 25 16:27:19 EST 2013


The branch 4.2/showemail-updates was deleted and repushed:
       was c1bb506f6b09b61c575e3b22728a85805059a1c5
       now 444acdb3e85b687db12593e752accefc7999d9bc

1:  f6485bc = 1:  f6485bc Update title to describe what page is
2:  c1bb506 ! 2:  444acdb Check rights on show email page
    @@ -16,10 +16,20 @@
     --- a/share/html/Ticket/ShowEmailRecord.html
     +++ b/share/html/Ticket/ShowEmailRecord.html
     @@
    -     Title => 'Email Source for Ticket '
    -     . $AttachmentObj->TransactionObj->ObjectId
    -     . ', Attachment ' . $AttachmentObj->Id &>
    +     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 &>
     -% $show->( $AttachmentObj );
    ++<& /Elements/Header, ShowBar => 0, Title => $title &>
     +% if ( $AttachmentObj->TransactionObj->CurrentUserCanSee("Transaction")){
     +%     $show->( $AttachmentObj );
     +% }



More information about the rt-commit mailing list