forked from mirror/pixelfed
Update activity blade template
This commit is contained in:
parent
34ae2a96be
commit
f9bc974e54
|
@ -5,6 +5,7 @@
|
||||||
<div class="col-12 col-md-8 offset-md-2">
|
<div class="col-12 col-md-8 offset-md-2">
|
||||||
<ul class="list-group">
|
<ul class="list-group">
|
||||||
|
|
||||||
|
@if($notifications->count() > 0)
|
||||||
@foreach($notifications as $notification)
|
@foreach($notifications as $notification)
|
||||||
<li class="list-group-item notification">
|
<li class="list-group-item notification">
|
||||||
@switch($notification->action)
|
@switch($notification->action)
|
||||||
|
@ -61,6 +62,11 @@
|
||||||
@endswitch
|
@endswitch
|
||||||
</li>
|
</li>
|
||||||
@endforeach
|
@endforeach
|
||||||
|
@else
|
||||||
|
<div class="mt-4">
|
||||||
|
<div class="alert alert-info font-weight-bold">No unread notifications found.</div>
|
||||||
|
</div>
|
||||||
|
@endif
|
||||||
</ul>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
Loading…
Reference in New Issue