From 19f9bbcad4621feb2f782b812d0ecb9afad4f33a Mon Sep 17 00:00:00 2001 From: Mario Date: Wed, 25 Aug 2021 06:37:14 +0000 Subject: nav: fix minor display issue and add some code duplication for better readability --- view/tpl/navbar_default.tpl | 32 ++++++++++++++++---------------- 1 file changed, 16 insertions(+), 16 deletions(-) (limited to 'view') diff --git a/view/tpl/navbar_default.tpl b/view/tpl/navbar_default.tpl index 6f93238a1..df8e5b69a 100644 --- a/view/tpl/navbar_default.tpl +++ b/view/tpl/navbar_default.tpl @@ -98,9 +98,6 @@ {{/if}} - - - @@ -200,31 +197,34 @@ {{$channel_app}} {{/foreach}} {{/if}} + {{if $navbar_apps.0}} + {{/if}} {{if $is_owner}}
- + + {{$addapps}} {{else}} - {{/if}} {{foreach $nav_apps as $nav_app}} {{$nav_app}} {{/foreach}} - {{if $is_owner}} -
- - {{$addapps}} {{/if}} -- cgit v1.2.3