[Rt-commit] rt branch, 4.4/ticket-summary-bar, repushed
Dustin Graves
dustin at bestpractical.com
Mon Oct 19 13:10:25 EDT 2015
The branch 4.4/ticket-summary-bar was deleted and repushed:
was c1d5316a10998d7a2f5c94ddd3975f46e899680f
now 5332329de22fedfb54ec462ae715cb717415717b
1: c1d5316 ! 1: 5332329 add optional pinned ticket summary display bar to rudder and aileon themes
@@ -1,8 +1,28 @@
Author: Dustin Graves <dustin at bestpractical.com>
- add pinned ticket summary display bar to rudder and aileon themes
+ add optional pinned ticket summary display bar to rudder and aileon themes
Fixes: T#157669
+
+diff --git a/lib/RT/Config.pm b/lib/RT/Config.pm
+--- a/lib/RT/Config.pm
++++ b/lib/RT/Config.pm
+@@
+ Description => 'Enable quote folding?' # loc
+ }
+ },
++ DisplayTicketSummaryBar => {
++ Section => 'Ticket display',
++ Overridable => 1,
++ SortOrder => 11,
++ Widget => '/Widgets/Form/Boolean',
++ WidgetArguments => {
++ Description => 'Show ticket summary bar?' # loc
++ }
++ },
+
+ # User overridable locale options
+ DateTimeFormat => {
diff --git a/share/html/Ticket/Display.html b/share/html/Ticket/Display.html
--- a/share/html/Ticket/Display.html
@@ -11,7 +31,9 @@
LinkRel => \%link_rel &>
<& /Elements/Tabs &>
++% if (RT->Config->Get("DisplayTicketSummaryBar", $session{'CurrentUser'})) {
+<& /Ticket/Elements/SummaryBar, Ticket => $TicketObj &>
++% }
+
% $m->callback(CallbackName => 'BeforeActionList', %ARGS, Actions => \@Actions, ARGSRef => \%ARGS, Ticket => $TicketObj);
@@ -133,36 +155,48 @@
+ position: fixed;
+ margin: 0;
+ padding: 0;
-+ top: 0;
-+ left: 0;
-+ right: auto;
++ top: 3em;
++ left: auto;
++ right: 0;
+ font-size: 0.9em;
+ width: auto;
+ margin-top: 0;
+ background: white;
-+ border-right: 1px #aaa solid;
++ border-left: 1px #aaa solid;
+ border-bottom: 1px #aaa solid;
-+ border-radius: 0 0 5px 0;
++ border-radius: 5px 0 0 5px;
+ box-shadow: 0 0 10px rgba(0,0,0,0.4);
+ z-index: 9994;
+ list-style: none;
+ line-height: 1.0;
+ /* stupid vendor prefixes */
-+ -moz-border-radius: 0 0 5px 0;
-+ -webkit-border-radius: 0 0 5px 0;
++ -moz-border-radius: 5px 0 0 5px;
++ -webkit-border-radius: 5px 0 0 5px;
+ -moz-box-shadow: 0 0 10px rgba(0,0,0,0.4);
+ -webkit-box-shadow: 0 0 10px rgba(0,0,0,0.4);
+}
+
+#ticket-summary-bar ul li {
+ display: inline-block;
-+ border-right 1px solid #fff;
++ border-left 1px solid #fff;
+ padding: .75em 1em;
+ text-decoration: none;
++ white-space: nowrap;
++ overflow: hidden;
++ text-overflow: ellipsis;
++ max-width: 20em;
++}
++
++#ticket-summary-bar ul li br {
++ display: none;
++}
++
++#ticket-summary-bar ul li span.user {
++ margin-right: 5px;
+}
+
+#ticket-summary-bar ul li:last-of-type {
-+ border-radius: 0 0 5px 0;
-+ -moz-border-radius: 0 0 5px 0;
-+ -webkit-border-radius: 0 0 5px 0;
-+}
++ border-radius: 5px 0 0 5px;
++ -moz-border-radius: 5px 0 0 5px;
++ -webkit-border-radius: 5px 0 0 5px;
++}
More information about the rt-commit
mailing list