aboutsummaryrefslogtreecommitdiffstats
path: root/view
diff options
context:
space:
mode:
authorMario Vavti <mario@mariovavti.com>2017-11-08 11:01:19 +0100
committerMario Vavti <mario@mariovavti.com>2017-11-08 11:01:19 +0100
commita8d527f1cda1c35ca19c7c94435c78d1036e4861 (patch)
treef885d2ef001a239e5057cccd91f7068ab90622a9 /view
parente5f3296c6b2f462038e09f08646f990aae5a35cc (diff)
downloadvolse-hubzilla-a8d527f1cda1c35ca19c7c94435c78d1036e4861.tar.gz
volse-hubzilla-a8d527f1cda1c35ca19c7c94435c78d1036e4861.tar.bz2
volse-hubzilla-a8d527f1cda1c35ca19c7c94435c78d1036e4861.zip
only show nav app link if we have a selected app
Diffstat (limited to 'view')
-rwxr-xr-xview/tpl/navbar_default.tpl2
1 files changed, 2 insertions, 0 deletions
diff --git a/view/tpl/navbar_default.tpl b/view/tpl/navbar_default.tpl
index e4150ba50..994254bc4 100755
--- a/view/tpl/navbar_default.tpl
+++ b/view/tpl/navbar_default.tpl
@@ -60,12 +60,14 @@
{{/if}}
</div>
<div id="nav-app-link-wrapper" class="navbar-nav mr-auto">
+ {{if $sel.name}}
<a id="nav-app-link" href="{{$url}}" class="nav-link text-truncate">
{{$sel.name}}
{{if $sitelocation}}
<br><small class="text-muted">{{$sitelocation}}</small>
{{/if}}
</a>
+ {{/if}}
</div>
{{/if}}
<div class="navbar-toggler-right">