[Rt-commit] r13006 - in rt/branches/3.8-TESTING: share/html/Ticket/Elements

jesse at bestpractical.com jesse at bestpractical.com
Sat Jun 7 00:06:49 EDT 2008


Author: jesse
Date: Sat Jun  7 00:06:35 2008
New Revision: 13006

Modified:
   rt/branches/3.8-TESTING/   (props changed)
   rt/branches/3.8-TESTING/share/html/Ticket/Elements/Tabs

Log:
 r32407 at 31b:  jesse | 2008-06-06 22:39:02 -0400
 * Fix the shredder url
 * make shredder only show up from the ticket results page (not from all the individual ticket pages)


Modified: rt/branches/3.8-TESTING/share/html/Ticket/Elements/Tabs
==============================================================================
--- rt/branches/3.8-TESTING/share/html/Ticket/Elements/Tabs	(original)
+++ rt/branches/3.8-TESTING/share/html/Ticket/Elements/Tabs	Sat Jun  7 00:06:35 2008
@@ -229,18 +229,9 @@
                  title     => loc('Advanced'),
                  separator => 1 };
 if ($args) {
-  $tabs->{"i"} = { path      => "Search/Results.html$args",
-                   title     => loc('Show Results'),
-                   };
+
   if ($current_tab =~ m{Search/Results.html}) {
     $current_tab = "Search/Results.html$args";
-  }
-  $tabs->{"j"} = { path      => "Search/Bulk.html$args",
-                   title     => loc('Bulk Update'),
-                   };
-  if ($current_tab =~  m{Search/Bulk.html}) {
-    $current_tab = "Search/Bulk.html$args";
-  }
 
 if ( $session{'CurrentUser'} ->HasRight( Right => 'SuperUser', Object => $RT::System ) ) {
     my $shred_args = $m->comp( '/Elements/QueryString',
@@ -251,11 +242,25 @@
     );
 
     $tabs->{"shredder"} = {
-        path  => 'Admin/Tools/Shredder/' . $shred_args,
+        path  => 'Admin/Tools/Shredder/?' . $shred_args,
         title => loc('Shredder')
     };
 
 }
+  }
+  if ($current_tab =~  m{Search/Bulk.html}) {
+    $current_tab = "Search/Bulk.html$args";
+  }
+
+
+
+  $tabs->{"i"} = { path      => "Search/Results.html$args",
+                   title     => loc('Show Results'),
+                   };
+
+  $tabs->{"j"} = { path      => "Search/Bulk.html$args",
+                   title     => loc('Bulk Update'),
+                   };
 
 }
 


More information about the Rt-commit mailing list