[Rt-commit] rt branch, 4.4/improve-jump-to-unread-ui, repushed
? sunnavy
sunnavy at bestpractical.com
Wed Apr 3 17:20:37 EDT 2019
The branch 4.4/improve-jump-to-unread-ui was deleted and repushed:
was 791813aa359ae8741e8e99fac86f1a99814b789a
now 77348044ce560978efbd7f8c4642dbd569edb82b
1: 791813aa3 ! 1: 77348044c Improve UI of unread messages notification
@@ -19,26 +19,20 @@
%# END BPS TAGGED BLOCK }}}
<div class="unread-messages">
<&| /Widgets/TitleBox, title => loc('New messages'), title_href => "#txn-". $txn->id &>
--<&|/l&>There are unread messages on this ticket.</&>
++<div>
++<span class="new-messages-on-ticket">
+ <&|/l&>There are unread messages on this ticket.</&>
-<&|/l,
- RT->Config->Get('WebPath') ."/$DisplayPath/Display.html?id=". $Ticket->id. "#txn-".$txn->id,
-+<&|/l,
-+ RT->Config->Get('WebPath') ."/$DisplayPath/Display.html?id=". $Ticket->id ."#txn-" . $txn->id,
-+ RT->Config->Get('WebPath') ."/$DisplayPath/Display.html?id=". $Ticket->id. "&MarkAsSeen=1",
- RT->Config->Get('WebPath') ."/$DisplayPath/Display.html?id=". $Ticket->id ."&MarkAsSeen=1&Anchor=txn-" . $txn->id
+- RT->Config->Get('WebPath') ."/$DisplayPath/Display.html?id=". $Ticket->id ."&MarkAsSeen=1&Anchor=txn-" . $txn->id
- &>You can <a href="[_1]">jump to the first unread message</a> or <a href="[_2]">jump to the first unread message and mark all messages as seen</a>.</&>
-+ &>
-+<div>
-+<span class="new-messages-on-ticket">
-+<&|/l&>There are unread messages on this ticket.</&>
+</span>
+<span class="new-messages-buttons">
-+<a class="button small-button" href="[_1]">Jump to Unread</a>
-+<a class="button small-button" href="[_2]">Mark as Seen</a>
-+<a class="button small-button" href="[_3]">Jump & Mark as Seen</a>
++<a class="button small-button" href="<% RT->Config->Get('WebPath') ."/$DisplayPath/Display.html?id=". $Ticket->id ."#txn-" . $txn->id |n %>"><&|/l&>Jump to Unread</&></a>
++<a class="button small-button" href="<% RT->Config->Get('WebPath') ."/$DisplayPath/Display.html?id=". $Ticket->id. "&MarkAsSeen=1" |n %>"><&|/l&>Mark as Seen</&></a>
++<a class="button small-button" href="<% RT->Config->Get('WebPath') ."/$DisplayPath/Display.html?id=". $Ticket->id ."&MarkAsSeen=1&Anchor=txn-" . $txn->id |n %>"><&|/l&>Jump & Mark as Seen</&></a>
+</span>
+</div>
-+</&>
</&>
</div>
<%ARGS>
More information about the rt-commit
mailing list