diff options
author | Mario Vavti <mario@mariovavti.com> | 2018-01-24 11:16:51 +0100 |
---|---|---|
committer | Mario Vavti <mario@mariovavti.com> | 2018-01-24 11:16:51 +0100 |
commit | e3a6b0012e95aae8e0572a53ea96ddc915d6eb03 (patch) | |
tree | fd2643178b0c4560e8a0716281d3e6a182c4278f /view/tpl | |
parent | deede8e2ddb58db0bedf437f25c56c9fc050f181 (diff) | |
download | volse-hubzilla-e3a6b0012e95aae8e0572a53ea96ddc915d6eb03.tar.gz volse-hubzilla-e3a6b0012e95aae8e0572a53ea96ddc915d6eb03.tar.bz2 volse-hubzilla-e3a6b0012e95aae8e0572a53ea96ddc915d6eb03.zip |
implement caching of notifications in browser session storage
Diffstat (limited to 'view/tpl')
-rw-r--r-- | view/tpl/notifications_widget.tpl | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/view/tpl/notifications_widget.tpl b/view/tpl/notifications_widget.tpl index 6b3f4b15b..fd5c0dbc0 100644 --- a/view/tpl/notifications_widget.tpl +++ b/view/tpl/notifications_widget.tpl @@ -125,7 +125,7 @@ </div> {{foreach $notifications as $notification}} <div class="collapse {{$notification.type}}-button"> - <a class="list-group-item" href="#nav-{{$notification.type}}-sub" title="{{$notification.title}}" data-toggle="collapse" data-parent="#notifications" rel="#nav-{{$notification.type}}-menu"> + <a class="list-group-item notification-link" href="#nav-{{$notification.type}}-sub" title="{{$notification.title}}" data-toggle="collapse" data-parent="#notifications" data-type="{{$notification.type}}"> <i class="fa fa-fw fa-{{$notification.icon}}"></i> {{$notification.label}} <span class="float-right badge badge-{{$notification.severity}} {{$notification.type}}-update"></span> </a> @@ -149,7 +149,7 @@ <div id="cn-{{$notification.type}}-input-clear" class="text-muted notifications-textinput-clear d-none"><i class="fa fa-times"></i></div> </div> {{/if}} - <div id="nav-{{$notification.type}}-menu" class="" rel="{{$notification.type}}"> + <div id="nav-{{$notification.type}}-menu" class=""> {{$loading}}<span class="jumping-dots"><span class="dot-1">.</span><span class="dot-2">.</span><span class="dot-3">.</span></span> </div> </div> |