mirror of
https://github.com/pixelfed/pixelfed.git
synced 2024-11-10 00:34:50 +00:00
Update activity blade template
This commit is contained in:
parent
34ae2a96be
commit
f9bc974e54
1 changed files with 6 additions and 0 deletions
|
@ -5,6 +5,7 @@
|
|||
<div class="col-12 col-md-8 offset-md-2">
|
||||
<ul class="list-group">
|
||||
|
||||
@if($notifications->count() > 0)
|
||||
@foreach($notifications as $notification)
|
||||
<li class="list-group-item notification">
|
||||
@switch($notification->action)
|
||||
|
@ -61,6 +62,11 @@
|
|||
@endswitch
|
||||
</li>
|
||||
@endforeach
|
||||
@else
|
||||
<div class="mt-4">
|
||||
<div class="alert alert-info font-weight-bold">No unread notifications found.</div>
|
||||
</div>
|
||||
@endif
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
|
|
Loading…
Reference in a new issue