ALPHA 3.0.6

This commit is contained in:
TheGamecraft
2018-11-08 12:16:01 -05:00
parent 87264660bc
commit 2b6bd17b8d
11 changed files with 193 additions and 25 deletions

View File

@@ -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";

View File

@@ -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>