X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;ds=sidebyside;f=rt%2Fshare%2Fhtml%2FElements%2FPersonalQuickbar;h=68b908f7cfaa7af0dee247c307a33aef04d34af1;hb=44dd00a3ff974a17999e86e64488e996edc71e3c;hp=993c4578fcf86a1dc6de6cac7ea5cec2e7e072d2;hpb=fc6209f398899f0211cfcedeb81a3cd65e04a941;p=freeside.git diff --git a/rt/share/html/Elements/PersonalQuickbar b/rt/share/html/Elements/PersonalQuickbar index 993c4578f..68b908f7c 100644 --- a/rt/share/html/Elements/PersonalQuickbar +++ b/rt/share/html/Elements/PersonalQuickbar @@ -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 %# %# %# (Except where explicitly superseded by other copyright notices) @@ -50,14 +50,8 @@ $Prefs => '/Prefs/Other.html'
<&|/l&>Skip Menu | -% if ($session{'CurrentUser'}->Name) { - <&|/l, "".$session{'CurrentUser'}->Name."" &>Logged in as [_1] -% if ( $session{'CurrentUser'}->HasRight( Right => 'ModifySelf', Object => $RT::System ) ) { - | <&|/l&>Preferences -% } -% } else { - <&|/l&>Not logged in. +% unless ($session{'CurrentUser'}->Id) { + <&|/l&>Not logged in. % } % $m->callback( %ARGS ); -<& Logout, %ARGS &>