[Rt-commit] rt branch, 4.6/unread-message-count, repushed

Aaron Trevena ast at bestpractical.com
Wed Jan 29 13:09:06 EST 2020


The branch 4.6/unread-message-count was deleted and repushed:
       was 55d9d23525903ef6221ae01f7ee2dcefa84b4676
       now baa67be8b2c07157148ab86df9152174bdd34f21

1: 62e2a9a216 = 1: 62e2a9a216 Move unread message count to core
2: 55d9d23525 ! 2: baa67be8b2 Reworked unread message count to be consistent with core
    @@ -106,8 +106,11 @@
     -            return \('<a class="unread_nb" title="jump to Unread & Mark as Seen" href="'. RT->Config->Get('WebPath') .'/Ticket/Display.html?id='
     -            . $self->id .'&MarkAsSeen=1&Anchor=txn-'. $first_unread->id .'">'),
     -            $count, \'</a>';
    -+            return \('<a title="jump to Unread & Mark as Seen" href="'. RT->Config->Get('WebPath') .'/Ticket/Display.html?id='
    -+            . $self->id .'&MarkAsSeen=1&Anchor=txn-'. $first_unread->id .'"><b>'),
    ++            my $link = RT->Config->Get('WebPath');
    ++            $link .= ( $session{'CurrentUser'}->Privileged ) ? '/Ticket/Display.html?id=' : '/SelfService/Display.html?id=';
    ++            $link .= $self->id .'&MarkAsSeen=1&Anchor=txn-'. $first_unread->id;
    ++
    ++            return \('<a title="jump to Unread & Mark as Seen" href="'. $link .'"><b>'),
     +            $count, \'</b></a>';
              }
         }



More information about the rt-commit mailing list