aboutsummaryrefslogtreecommitdiffstats
path: root/view
diff options
context:
space:
mode:
authorzotlabs <mike@macgirvin.com>2016-11-02 20:22:48 -0700
committerzotlabs <mike@macgirvin.com>2016-11-02 20:22:48 -0700
commitae092efb497f25262dc8b5e8c91d1707f36bcfd9 (patch)
tree29c1737207633c688e5a9d50e6a08e1cc16ba62d /view
parent94065fde33f500691cd7fc118cfeef4ea4ca22da (diff)
downloadvolse-hubzilla-ae092efb497f25262dc8b5e8c91d1707f36bcfd9.tar.gz
volse-hubzilla-ae092efb497f25262dc8b5e8c91d1707f36bcfd9.tar.bz2
volse-hubzilla-ae092efb497f25262dc8b5e8c91d1707f36bcfd9.zip
provide merged usermenu div for all server roles
Diffstat (limited to 'view')
-rwxr-xr-xview/tpl/nav.tpl4
1 files changed, 0 insertions, 4 deletions
diff --git a/view/tpl/nav.tpl b/view/tpl/nav.tpl
index dfcd3f609..a279789a1 100755
--- a/view/tpl/nav.tpl
+++ b/view/tpl/nav.tpl
@@ -17,14 +17,10 @@
</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}}