mirror of
https://gitlab.com/TheGamecraft/c-cms.git
synced 2026-04-23 19:39:10 -04:00
ALPHA 3.0.6
This commit is contained in:
@@ -28,6 +28,8 @@ foreach (Auth::user()->unreadNotifications as $notification) {
|
||||
<?php } ?>
|
||||
</button>
|
||||
<div class="dropdown-menu" aria-labelledby="notification">
|
||||
<a class="btn btn-primary btn-block" href="/admin/notication/mark">Manquer toutes les notifications comme lu</a>
|
||||
<hr>
|
||||
<?php
|
||||
foreach (Auth::user()->unreadNotifications as $notification) {
|
||||
$fa_icon = "fa-info";
|
||||
|
||||
@@ -24,8 +24,9 @@ foreach (Auth::user()->unreadNotifications as $notification) {
|
||||
<b class="caret"></b>
|
||||
</a>
|
||||
<ul class="dropdown-menu">
|
||||
<li><a href="/ecc/notication/mark" class="btn btn-warning">Marquer toutes les notifications comme lue</a></li>
|
||||
@foreach (Auth::user()->unreadNotifications as $notification)
|
||||
<li><a href="#">{{$notification->data['msg']}}</a></li>
|
||||
<li style="width:250px"><form method="post" action="/ecc/notication/mark/{{$notification->id}}">{{csrf_field()}}<button style="border:none;margin:5px;background-color:white" name="url" type="submit" value="{{$notification->data['url']}}"><p>{{$notification->data['msg']}}</p></button></form></li>
|
||||
@endforeach
|
||||
|
||||
</ul>
|
||||
|
||||
Reference in New Issue
Block a user