[Bps-public-commit] r19654 - in RT-Extension-SLA/html/Callbacks/RT-Extension-SLA/Ticket: . Elements/Tabs

ruz at bestpractical.com ruz at bestpractical.com
Wed May 13 18:00:18 EDT 2009


Author: ruz
Date: Wed May 13 18:00:18 2009
New Revision: 19654

Added:
   RT-Extension-SLA/html/Callbacks/RT-Extension-SLA/Ticket/
   RT-Extension-SLA/html/Callbacks/RT-Extension-SLA/Ticket/Elements/
   RT-Extension-SLA/html/Callbacks/RT-Extension-SLA/Ticket/Elements/Tabs/
   RT-Extension-SLA/html/Callbacks/RT-Extension-SLA/Ticket/Elements/Tabs/Default

Log:
* add tabs to tickets so you can jump to a report right after search

Added: RT-Extension-SLA/html/Callbacks/RT-Extension-SLA/Ticket/Elements/Tabs/Default
==============================================================================
--- (empty file)
+++ RT-Extension-SLA/html/Callbacks/RT-Extension-SLA/Ticket/Elements/Tabs/Default	Wed May 13 18:00:18 2009
@@ -0,0 +1,15 @@
+<%ARGS>
+$Query => undef
+$tabs => {}
+</%ARGS>
+<%INIT>
+
+$Query ||= $session{'CurrentSearchHash'}->{'Query'};
+
+return unless $Query;
+
+$tabs->{"m"} = {
+    path  => "Tools/Reports/SLA.html?". $m->comp( '/Elements/QueryString', Query => $Query ),
+    title => loc('Report SLA'),
+};
+</%INIT>



More information about the Bps-public-commit mailing list