[Rt-commit] [svn] r1431 - rtir/branches/1.1/html/RTIR/Incident/Elements

leira at pallas.eruditorum.org leira at pallas.eruditorum.org
Tue Sep 7 01:18:47 EDT 2004


Author: leira
Date: Tue Sep  7 01:18:47 2004
New Revision: 1431

Modified:
   rtir/branches/1.1/html/RTIR/Incident/Elements/LinkTabs
Log:
Whenever you're linking things in bulk, you can refine your search.


Modified: rtir/branches/1.1/html/RTIR/Incident/Elements/LinkTabs
==============================================================================
--- rtir/branches/1.1/html/RTIR/Incident/Elements/LinkTabs	(original)
+++ rtir/branches/1.1/html/RTIR/Incident/Elements/LinkTabs	Tue Sep  7 01:18:47 2004
@@ -24,29 +24,32 @@
 %# END LICENSE BLOCK
 % if (defined $Ticket) {
 <& /RTIR/Incident/Elements/Tabs, 
-    Ticket => $Ticket, 
-    current_tab => $current_tab,
-    current_subtab => $current_subtab,
-    appendtabs => $subtabs,
-    Title => $Title &>
+    appendtabs => $appendtabs,
+    subtabs => $refinetabs,
+    %ARGS &>
 % } else {
 <& '/RTIR/' . $Type . '/Elements/Tabs', 
-    current_tab => $current_tab,
-    current_subtab => $current_subtab,
-    appendtabs => $subtabs,
-    Title => $Title &>
+    subtabs => $refinetabs,
+    appendtabs => $appendtabs,
+    %ARGS &>
 % }
 
 <%INIT>
-my $subtabs;
+my $appendtabs;
+my $refinetabs = { };
 my $Type;
 if ($Ticket && $Tab) {
     ($Type, undef) = $m->comp('/RTIR/Elements/Type', Queue => $Queue);
 
-    $subtabs = {
+    $appendtabs = {
 	_I => { path => $current_subtab,
 		title     => $Tab },
     };
+
+    $refinetabs->{'_a'} = {
+	class => "nav",
+	path => $current_subtab,
+	title => loc('Refine') };
 }
 
 </%INIT>


More information about the Rt-commit mailing list