hide notification categories on page load

This commit is contained in:
Mike Macgirvin 2024-03-13 21:12:05 +11:00
parent e66156465b
commit a4c04caa47

View file

@ -152,7 +152,7 @@
</div> </div>
<div id="notifications" class="navbar-nav"> <div id="notifications" class="navbar-nav">
{{foreach $notifications as $notification}} {{foreach $notifications as $notification}}
<div class="card {{$notification.type}}-button"> <div class="card {{$notification.type}}-button" style="display: none;">
<a class="list-group-item list-group-item-action notification-link" href="#" title="{{$notification.title}}" data-bs-target="#nav-{{$notification.type}}-sub" data-bs-toggle="collapse" data-type="{{$notification.type}}"> <a class="list-group-item list-group-item-action notification-link" href="#" title="{{$notification.title}}" data-bs-target="#nav-{{$notification.type}}-sub" data-bs-toggle="collapse" data-type="{{$notification.type}}">
<i class="fa fa-fw fa-{{$notification.icon}}"></i> {{$notification.label}} <i class="fa fa-fw fa-{{$notification.icon}}"></i> {{$notification.label}}
<span class="float-end badge bg-{{$notification.severity}} {{$notification.type}}-update"></span> <span class="float-end badge bg-{{$notification.severity}} {{$notification.type}}-update"></span>