aboutsummaryrefslogtreecommitdiffstats
path: root/view/tpl/notifications_widget.tpl
diff options
context:
space:
mode:
authorMario Vavti <mario@mariovavti.com>2018-01-25 17:27:48 +0100
committerMario Vavti <mario@mariovavti.com>2018-01-25 17:27:48 +0100
commit4656856dfbf41e855b1bb8625290c07a5dcf8d38 (patch)
tree94b5f1882110f92cf83b8e9185295a8206a9ebeb /view/tpl/notifications_widget.tpl
parent019dcefecad12fb99f5b5caddd6a73ed4a99addb (diff)
downloadvolse-hubzilla-4656856dfbf41e855b1bb8625290c07a5dcf8d38.tar.gz
volse-hubzilla-4656856dfbf41e855b1bb8625290c07a5dcf8d38.tar.bz2
volse-hubzilla-4656856dfbf41e855b1bb8625290c07a5dcf8d38.zip
move template out of #notifications and revert reset timer on manual trigger
Diffstat (limited to 'view/tpl/notifications_widget.tpl')
-rw-r--r--view/tpl/notifications_widget.tpl14
1 files changed, 7 insertions, 7 deletions
diff --git a/view/tpl/notifications_widget.tpl b/view/tpl/notifications_widget.tpl
index a42c18751..69e5e15bc 100644
--- a/view/tpl/notifications_widget.tpl
+++ b/view/tpl/notifications_widget.tpl
@@ -115,14 +115,14 @@
<div id="no_notifications" class="d-xl-none">
{{$no_notifications}}<span class="jumping-dots"><span class="dot-1">.</span><span class="dot-2">.</span><span class="dot-3">.</span></span>
</div>
+ <div id="nav-notifications-template" rel="template">
+ <a class="list-group-item clearfix notification {5}" href="{0}" title="{2} {3}" data-b64mid="{6}" data-notify_id="{7}" data-thread_top="{8}" data-contact_name="{2}">
+ <img class="menu-img-3" data-src="{1}">
+ <span class="contactname">{2}</span>
+ <span class="dropdown-sub-text">{3}<br>{4}</span>
+ </a>
+ </div>
<div id="notifications" class="navbar-nav">
- <div id="nav-notifications-template" rel="template">
- <a class="list-group-item clearfix notification {5}" href="{0}" title="{2} {3}" data-b64mid="{6}" data-notify_id="{7}" data-thread_top="{8}" data-contact_name="{2}">
- <img class="menu-img-3" data-src="{1}">
- <span class="contactname">{2}</span>
- <span class="dropdown-sub-text">{3}<br>{4}</span>
- </a>
- </div>
{{foreach $notifications as $notification}}
<div class="collapse {{$notification.type}}-button">
<a class="list-group-item notification-link" href="#" title="{{$notification.title}}" data-target="#nav-{{$notification.type}}-sub" data-toggle="collapse" data-type="{{$notification.type}}">