[Rt-commit] rt branch, 4.4/improve-jump-to-unread-ui, repushed
Maureen Mirville
maureen at bestpractical.com
Thu Dec 13 16:13:32 EST 2018
The branch 4.4/improve-jump-to-unread-ui was deleted and repushed:
was c36fe43affebd21be2aa2c8020d2c51cec6a5f19
now 8ecb6f72c9104439b99b2263a797ed5f3e86ac04
1: c36fe43af ! 1: 8ecb6f72c Improve UI of unread messages notification
@@ -66,16 +66,20 @@
-<&|/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
- &>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 class="new-messages-on-ticket">
++<div>
++<span class="new-messages-on-ticket">
+<&|/l&>There are unread messages on this ticket.</&>
-+</div>
-+<div>
-+<a class="button" href="[_1]">Mark as Seen</a>
-+<a class="button" href="[_2]">Jump to Unread</a>
++</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>
++</span>
+</div>
+</&>
</&>
@@ -124,6 +128,14 @@
+ text-decoration: none;
+}
+
++.small-button {
++ padding: 0.2em 0.5em !important;
++}
++
++.new-messages-buttons {
++ display: inline-block;
++}
++
+.new-messages-on-ticket {
+ font-style: italic;
}
More information about the rt-commit
mailing list