diff options
Diffstat (limited to 'view/tpl/nav.tpl')
-rwxr-xr-x | view/tpl/nav.tpl | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/view/tpl/nav.tpl b/view/tpl/nav.tpl index d08cb29ea..dfcd3f609 100755 --- a/view/tpl/nav.tpl +++ b/view/tpl/nav.tpl @@ -17,7 +17,14 @@ </button> {{/if}} {{if $userinfo}} + {{if $z_server_role == 'pro'}} + <div class="usermenu-head dropdown-toggle fakelink" data-toggle="dropdown"> + <img id="avatar" src="{{$userinfo.icon}}" alt="{{$userinfo.name}}"> + <span class="caret" id="usermenu-caret"></span> + </div> + {{else}} <img class="dropdown-toggle fakelink" data-toggle="dropdown" id="avatar" src="{{$userinfo.icon}}" alt="{{$userinfo.name}}"><span class="caret dropdown-toggle fakelink" data-toggle="dropdown" id="usermenu-caret"></span> + {{/if}} {{if $localuser}} <ul class="dropdown-menu" role="menu" aria-labelledby="avatar"> {{foreach $nav.usermenu as $usermenu}} |