[Rt-commit] rt branch, 4.6/migrate-unread-message-box-theme, created. rt-4.4.4-878-g9d1e27729
? sunnavy
sunnavy at bestpractical.com
Fri Feb 14 08:47:51 EST 2020
The branch, 4.6/migrate-unread-message-box-theme has been created
at 9d1e277294e5d0ea3b80a212a660f594a529dd4d (commit)
- Log -----------------------------------------------------------------
commit 9d1e277294e5d0ea3b80a212a660f594a529dd4d
Author: sunnavy <sunnavy at bestpractical.com>
Date: Fri Feb 14 21:25:46 2020 +0800
Migrate unread message box to elevator themes
The UI was refactored in 4.4, now we have the new UI merged, we need to
migrate it to elevator themes accordingly.
This change is mainly to style buttons and paddings.
diff --git a/share/html/Ticket/Elements/ShowUpdateStatus b/share/html/Ticket/Elements/ShowUpdateStatus
index 9c3bc43f9..8b7a4d34e 100644
--- a/share/html/Ticket/Elements/ShowUpdateStatus
+++ b/share/html/Ticket/Elements/ShowUpdateStatus
@@ -47,16 +47,18 @@
%# END BPS TAGGED BLOCK }}}
<div class="unread-messages">
<&| /Widgets/TitleBox, title => loc('New messages'), title_href => "#txn-". $txn->id &>
-<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="<% 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 class="form-row">
+ <div class="col-md-12">
+ <span class="new-messages-on-ticket">
+ <&|/l&>There are unread messages on this ticket.</&>
+ </span>
+ <span class="new-messages-buttons">
+ <a class="button btn btn-primary btn-sm" href="<% RT->Config->Get('WebPath') ."/$DisplayPath/Display.html?id=". $Ticket->id ."#txn-" . $txn->id |n %>"><&|/l&>Jump to Unread</&></a>
+ <a class="button btn btn-primary btn-sm" href="<% RT->Config->Get('WebPath') ."/$DisplayPath/Display.html?id=". $Ticket->id. "&MarkAsSeen=1" |n %>"><&|/l&>Mark as Seen</&></a>
+ <a class="button btn btn-primary btn-sm" 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>
</&>
</div>
<%ARGS>
-----------------------------------------------------------------------
More information about the rt-commit
mailing list