rt 4.2.16
[freeside.git] / rt / share / html / Admin / Queues / History.html
index e3a0e9c..dcb5048 100644 (file)
@@ -2,7 +2,7 @@
 %#
 %# COPYRIGHT:
 %#
-%# This software is Copyright (c) 1996-2011 Best Practical Solutions, LLC
+%# This software is Copyright (c) 1996-2019 Best Practical Solutions, LLC
 %#                                          <sales@bestpractical.com>
 %#
 %# (Except where explicitly superseded by other copyright notices)
 %#
 %# END BPS TAGGED BLOCK }}}
 <& /Admin/Elements/Header, Title => $title  &>
-<& /Admin/Elements/QueueTabs, 
-    id => $id, 
-    QueueObj => $QueueObj,
-    current_subtab => $current_tab, 
-    Title => $title &>
+<& /Elements/Tabs &>
 
-<& /Ticket/Elements/ShowHistory,
-    Ticket => $QueueObj,
+<& /Elements/ShowHistory,
+    Object => $QueueObj,
     ShowDisplayModes => 0,
+    DisplayPath => 'History.html',
 &>
 
 <%INIT>
-my $current_tab = 'Admin/Queues/History.html?id='.$id;
-my $QueueObj = new RT::Queue($session{'CurrentUser'});
+my $QueueObj = RT::Queue->new($session{'CurrentUser'});
 $QueueObj->Load($id) || Abort("Couldn't load queue '$id'");
 my $title = loc("History of the queue [_1]", $QueueObj->Name);
 </%INIT>