diff options
author | Mario Vavti <mario@mariovavti.com> | 2017-11-08 11:01:19 +0100 |
---|---|---|
committer | Mario Vavti <mario@mariovavti.com> | 2017-11-08 11:01:19 +0100 |
commit | a8d527f1cda1c35ca19c7c94435c78d1036e4861 (patch) | |
tree | f885d2ef001a239e5057cccd91f7068ab90622a9 /view/tpl/navbar_default.tpl | |
parent | e5f3296c6b2f462038e09f08646f990aae5a35cc (diff) | |
download | volse-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/tpl/navbar_default.tpl')
-rwxr-xr-x | view/tpl/navbar_default.tpl | 2 |
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"> |