[Rt-commit] rtir branch, 3.4/cleanup-tools-lookup, created. 3.3.0-176-gc03d17d

Dustin Graves dustin at bestpractical.com
Thu May 26 15:53:14 EDT 2016


The branch, 3.4/cleanup-tools-lookup has been created
        at  c03d17d744bb622c346f986cd35c0d6f27ce3c42 (commit)

- Log -----------------------------------------------------------------
commit 498e10eac2e3b3af79b7be143e5bb756f62417f4
Author: Dustin Graves <dustin at bestpractical.com>
Date:   Thu May 26 19:46:59 2016 +0000

    fix table layout on Tools/Lookup page
    
    85afa57f introduced a regression that broke the current incident table

diff --git a/html/Callbacks/RTIR/Elements/RT__Ticket/ColumnMap/Once b/html/Callbacks/RTIR/Elements/RT__Ticket/ColumnMap/Once
index 495ce87..31266f8 100644
--- a/html/Callbacks/RTIR/Elements/RT__Ticket/ColumnMap/Once
+++ b/html/Callbacks/RTIR/Elements/RT__Ticket/ColumnMap/Once
@@ -155,7 +155,7 @@ $COLUMN_MAP->{'LookupToolIncidentActions'} = {
         push @res, \'<a href="',
             RT::IR->HREFTo('CreateInQueue.html?Lifecycle='.RT::IR->lifecycle_investigation
             .'&Incident='. $t->id),
-            \'" class="create_child_' . RT::IR->lifecycle_investigation . '">',
+            \('" class="create_child_' . RT::IR->lifecycle_investigation . '">'),
             '[' . $t->loc("Investigate") .']',
             \'</a>'
         ;

commit c03d17d744bb622c346f986cd35c0d6f27ce3c42
Author: Dustin Graves <dustin at bestpractical.com>
Date:   Thu May 26 19:49:14 2016 +0000

    update Tools/Lookup to use new style naming convention
    
    964fac8 switched the css to use this new convention, which removed the
    styles on the Lookup page since they still used the old naming scheme

diff --git a/html/RTIR/Tools/Elements/LookupSummary b/html/RTIR/Tools/Elements/LookupSummary
index 136c9a2..856b58f 100644
--- a/html/RTIR/Tools/Elements/LookupSummary
+++ b/html/RTIR/Tools/Elements/LookupSummary
@@ -47,7 +47,7 @@
 %# END BPS TAGGED BLOCK }}}
 <&| /Widgets/TitleBox,
     title => loc($display_lifecycle) .': '. $q,
-    class => 'tickets-list-'. $Lifecycle,
+    class => 'tickets-list-'. lc(RT::IR::TicketType( Lifecycle => $Lifecycle )),
     titleright_raw => $box_actions,
     title_class => 'inverse',
 &>

-----------------------------------------------------------------------


More information about the rt-commit mailing list