[Rt-commit] r17987 - in rt/3.999/branches/merge_to_3.8.2: .
sunnavy at bestpractical.com
sunnavy at bestpractical.com
Wed Jan 28 22:38:13 EST 2009
Author: sunnavy
Date: Wed Jan 28 22:38:13 2009
New Revision: 17987
Modified:
rt/3.999/branches/merge_to_3.8.2/ (props changed)
rt/3.999/branches/merge_to_3.8.2/share/html/Elements/Tabs
Log:
r19148 at sunnavys-mb: sunnavy | 2009-01-29 11:16:41 +0800
merged share/html/Elements/Tabs
Modified: rt/3.999/branches/merge_to_3.8.2/share/html/Elements/Tabs
==============================================================================
--- rt/3.999/branches/merge_to_3.8.2/share/html/Elements/Tabs (original)
+++ rt/3.999/branches/merge_to_3.8.2/share/html/Elements/Tabs Wed Jan 28 22:38:13 2009
@@ -77,9 +77,6 @@
c => { title => _('Tools'),
path => 'Tools/index.html'
},
- p => { title => _('Approval'),
- path => 'Approvals/'
- },
};
if (Jifty->web->current_user->has_right( right => 'ShowConfigTab',
@@ -96,6 +93,13 @@
};
}
+if (Jifty->web->current_user->has_right( Right => 'ShowApprovalsTab',
+ object => RT->system )) {
+ $basetabs->{p} = { title => _('Approval'),
+ path => 'Approvals/'
+ };
+}
+
if (!defined $toptabs) {
$toptabs = $basetabs;
}
More information about the Rt-commit
mailing list