aboutsummaryrefslogtreecommitdiffstats
path: root/view/tpl/nav.tpl
diff options
context:
space:
mode:
authorMario Vavti <mario@mariovavti.com>2017-10-06 16:46:27 +0200
committerMario Vavti <mario@mariovavti.com>2017-10-06 16:46:27 +0200
commitf427b4a325e3db897afc33a09fb04d9af765a53f (patch)
tree69db5904f152e960e676cc5e025111a9c8a842d6 /view/tpl/nav.tpl
parenta6835f4e714b0648717672767aa32625b72dfc47 (diff)
downloadvolse-hubzilla-f427b4a325e3db897afc33a09fb04d9af765a53f.tar.gz
volse-hubzilla-f427b4a325e3db897afc33a09fb04d9af765a53f.tar.bz2
volse-hubzilla-f427b4a325e3db897afc33a09fb04d9af765a53f.zip
introduce public stream notifications
Diffstat (limited to 'view/tpl/nav.tpl')
-rwxr-xr-xview/tpl/nav.tpl10
1 files changed, 7 insertions, 3 deletions
diff --git a/view/tpl/nav.tpl b/view/tpl/nav.tpl
index 9f4525c17..234b3682c 100755
--- a/view/tpl/nav.tpl
+++ b/view/tpl/nav.tpl
@@ -188,13 +188,17 @@
<a class="nav-link" href="{{$nav.alogout.0}}" title="{{$nav.alogout.3}}" id="{{$nav.alogout.4}}">{{$nav.alogout.1}}</a>
</li>
{{/if}}
-
{{if $nav.pubs}}
<li class="nav-item dropdown pubs-button" style="display: none;">
- <a class="nav-link" href="{{$nav.pubs.0}}" title="{{$nav.pubs.3}}" id="{{$nav.pubs.4}}" rel="#nav-pubs-menu">
+ <a class="nav-link" href="#" title="{{$nav.pubs.3}}" id="{{$nav.pubs.4}}" data-toggle="dropdown" rel="#nav-pubs-menu">
<i class="fa fa-fw fa-globe"></i>
- <span class="badge badge-pill badge-primary pubs-update"></span>
+ <span class="badge badge-pill badge-secondary pubs-update"></span>
</a>
+ <div id="nav-pubs-menu" class="dropdown-menu" rel="pubs">
+ <a class="dropdown-item" id="nav-pubs-see-all" href="{{$nav.pubs.all.0}}">{{$nav.pubs.all.1}}</a>
+ <a class="dropdown-item" id="nav-pubs-mark-all" href="#" onclick="markRead('pubs'); return false;">{{$nav.pubs.mark.1}}</a>
+ {{$emptynotifications}}
+ </div>
</li>
{{/if}}
</ul>