aboutsummaryrefslogtreecommitdiffstats
path: root/view
diff options
context:
space:
mode:
authorMario Vavti <mario@mariovavti.com>2018-01-24 23:26:43 +0100
committerMario Vavti <mario@mariovavti.com>2018-01-24 23:26:43 +0100
commita0cfa769bdd4b8be9418cd58fafa2e8ebc3fe208 (patch)
tree7bf68f7155541ec4dfb0fe5013649a9c22ed67b4 /view
parent7df62589ac278aae6ee448f48945df59f97034ed (diff)
downloadvolse-hubzilla-a0cfa769bdd4b8be9418cd58fafa2e8ebc3fe208.tar.gz
volse-hubzilla-a0cfa769bdd4b8be9418cd58fafa2e8ebc3fe208.tar.bz2
volse-hubzilla-a0cfa769bdd4b8be9418cd58fafa2e8ebc3fe208.zip
fix some issues with bootstrap accordion (this needs fixing in some other places too)
Diffstat (limited to 'view')
-rw-r--r--view/tpl/notifications_widget.tpl6
1 files changed, 3 insertions, 3 deletions
diff --git a/view/tpl/notifications_widget.tpl b/view/tpl/notifications_widget.tpl
index ee6fbc40a..a42c18751 100644
--- a/view/tpl/notifications_widget.tpl
+++ b/view/tpl/notifications_widget.tpl
@@ -115,7 +115,7 @@
<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="notifications" class="navbar-nav" data-children=".nav-item">
+ <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}">
@@ -125,11 +125,11 @@
</div>
{{foreach $notifications as $notification}}
<div class="collapse {{$notification.type}}-button">
- <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}}">
+ <a class="list-group-item notification-link" href="#" title="{{$notification.title}}" data-target="#nav-{{$notification.type}}-sub" data-toggle="collapse" 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>
- <div id="nav-{{$notification.type}}-sub" class="collapse notification-content" data-type="{{$notification.type}}">
+ <div id="nav-{{$notification.type}}-sub" class="collapse notification-content" data-parent="#notifications" data-type="{{$notification.type}}">
{{if $notification.viewall}}
<a class="list-group-item text-dark" id="nav-{{$notification.type}}-see-all" href="{{$notification.viewall.url}}">
<i class="fa fa-fw fa-external-link"></i> {{$notification.viewall.label}}