From 5cc8837fb6605d18f09693e4ca418b8a5d38f57b Mon Sep 17 00:00:00 2001 From: git-marijus Date: Tue, 25 Jul 2017 20:06:01 +0200 Subject: make local channel (not our own) nav menus appear similar to what we are used from remote channels --- view/tpl/nav.tpl | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) (limited to 'view') diff --git a/view/tpl/nav.tpl b/view/tpl/nav.tpl index 288a15f2c..c0b34bbe8 100755 --- a/view/tpl/nav.tpl +++ b/view/tpl/nav.tpl @@ -16,7 +16,7 @@ {{$userinfo.name}} - {{if $localuser}} + {{if $is_owner}} - {{else}} - {{if $nav.rusermenu}} + {{/if}} + {{if ! $is_owner}} {{/if}} - {{/if}} {{/if}} {{/if}} - {{if $localuser}} + {{if $is_owner}} {{$addapps}} {{$orderapps}} @@ -230,7 +229,7 @@ {{if $channel_apps.0}} {{/if}} - {{if $localuser}} + {{if $is_owner}} {{$addapps}} {{$orderapps}} -- cgit v1.2.3