[Rt-commit] rt branch, 4.4/hide-unset-fields-in-display, repushed

? sunnavy sunnavy at bestpractical.com
Wed Dec 18 06:24:48 EST 2013


The branch 4.4/hide-unset-fields-in-display was deleted and repushed:
       was ed6ae311a3f1730b722209ca060290edc29f5f60
       now 7060499a1b216047daba496e0088eef4a607d826

-:  ------- > 1:  042d639 don't bother linking "Last Contact" if current user doesn't have the right
1:  7f8f47c ! 2:  3815fb7 hide possible empty fields for people|dates|links
    @@ -46,15 +46,11 @@
     +
     +% if ( $Ticket->ToldObj->Unix || $Ticket->CurrentUserHasRight('ModifyTicket') ) {
        <tr class="date told">
    --    <td class="label"><a href="<% RT->Config->Get('WebPath') %>/Ticket/Display.html?id=<% $Ticket->id %>&Action=SetTold"><&|/l&>Last Contact</&></a>:</td>\
    --    <td class="value"><% $Ticket->ToldObj->AsString %></td>
    -+    <td class="label">
    -+% if ( $Ticket->CurrentUserHasRight('ModifyTicket' ) ) {
    -+<a href="<% RT->Config->Get('WebPath') %>/Ticket/Display.html?id=<% $Ticket->id %>&Action=SetTold"><&|/l&>Last Contact</&></a>:
    -+% } else {
    -+<&|/l&>Last Contact</&>:
    -+% }
    -+</td><td class="value"><% $Ticket->ToldObj->AsString %></td>
    +     <td class="label">
    + % if ( $Ticket->CurrentUserHasRight('ModifyTicket' ) ) {
    +@@
    + % }
    + </td><td class="value"><% $Ticket->ToldObj->AsString %></td>
        </tr>
     +% }
     +
2:  ed6ae31 = 3:  7060499 tests of hiding unset fields



More information about the rt-commit mailing list