aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorgit-marijus <mario@mariovavti.com>2017-07-29 12:36:54 +0200
committergit-marijus <mario@mariovavti.com>2017-07-29 12:36:54 +0200
commit1f57a59618bc5e6bb8d0cda3031ba2751947e0c9 (patch)
treec03b0b559c5261dfb7abd0cc3acd36371538ba51
parent5a1b850dd6510cd6ece5c1e49589510aa1782cf6 (diff)
downloadvolse-hubzilla-1f57a59618bc5e6bb8d0cda3031ba2751947e0c9.tar.gz
volse-hubzilla-1f57a59618bc5e6bb8d0cda3031ba2751947e0c9.tar.bz2
volse-hubzilla-1f57a59618bc5e6bb8d0cda3031ba2751947e0c9.zip
make pubs notification available on small screens
-rwxr-xr-xview/tpl/nav.tpl4
1 files changed, 2 insertions, 2 deletions
diff --git a/view/tpl/nav.tpl b/view/tpl/nav.tpl
index 3e0ae8d5c..137fed790 100755
--- a/view/tpl/nav.tpl
+++ b/view/tpl/nav.tpl
@@ -63,7 +63,7 @@
<button id="expand-aside" type="button" class="navbar-toggler border-0" data-toggle="offcanvas" data-target="#region_1">
<i class="fa fa-arrow-circle-right" id="expand-aside-icon"></i>
</button>
- {{if $localuser}}
+ {{if $localuser || $nav.pubs}}
<button id="notifications-btn" type="button" class="navbar-toggler border-0 text-white" data-toggle="collapse" data-target="#navbar-collapse-1">
<i class="fa fa-exclamation-circle"></i>
</button>
@@ -152,7 +152,7 @@
</li>
{{/if}}
{{if $nav.login && !$userinfo}}
- <li class="nav-item">
+ <li class="nav-item d-none d-md-flex">
<a class="nav-link" href="#" title="{{$nav.loginmenu.1.3}}" id="{{$nav.loginmenu.1.4}}" data-toggle="modal" data-target="#nav-login">{{$nav.loginmenu.1.1}}</a>
</li>
{{/if}}