aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMario Vavti <mario@mariovavti.com>2017-11-08 11:01:19 +0100
committerMario <mario@mariovavti.com>2017-11-11 20:26:03 +0100
commit29829eb011b686e73f748cc74f3124055e632db3 (patch)
treef66e0a4bbc1c389413cc98865f66b24967a40cb0
parent129e6bddde7ec6dd27dd3d1be5f16c2619c97887 (diff)
downloadvolse-hubzilla-29829eb011b686e73f748cc74f3124055e632db3.tar.gz
volse-hubzilla-29829eb011b686e73f748cc74f3124055e632db3.tar.bz2
volse-hubzilla-29829eb011b686e73f748cc74f3124055e632db3.zip
only show nav app link if we have a selected app
-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 1f771e5ae..cf0470d7a 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>{{$sitelocation}}</small>
{{/if}}
</a>
+ {{/if}}
</div>
{{/if}}
<div class="navbar-toggler-right">