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

jesse at bestpractical.com jesse at bestpractical.com
Fri Jun 6 14:55:47 EDT 2008


Author: jesse
Date: Fri Jun  6 14:55:46 2008
New Revision: 12985

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

Log:
 r32391 at 31b:  jesse | 2008-06-06 14:04:08 -0400
 * Removing the preferences link breaks nav and tests. Another day.


Modified: rt/branches/3.8-TESTING/share/html/Elements/Tabs
==============================================================================
--- rt/branches/3.8-TESTING/share/html/Elements/Tabs	(original)
+++ rt/branches/3.8-TESTING/share/html/Elements/Tabs	Fri Jun  6 14:55:46 2008
@@ -89,6 +89,13 @@
 		     };
 }
 
+if ($session{'CurrentUser'}->HasRight( Right => 'ModifySelf', 
+				       Object => $RT::System )) {
+    $basetabs->{K} = { title => loc('Preferences'),
+                       path => 'User/Prefs.html'
+		     };
+}
+
 if (!defined $toptabs) {
    $toptabs = $basetabs;
 }


More information about the Rt-commit mailing list