Permission update

This commit is contained in:
George Frederick "Buzz" Beurling
2020-03-22 20:00:23 -04:00
parent 1e3ae2fbbb
commit ae3be2b977
27 changed files with 344 additions and 655 deletions

View File

@@ -25,7 +25,13 @@
<td>{{$item->created_at}}</td>
<th><span class="badge badge-pill badge-{{$item->typeColor()}}">{{$item->type}}</span></th>
<th><span class="badge badge-pill badge-{{$item->result}} text-uppercase">{{$item->result}}</span></th>
<td>{{\App\User::find($item->user_id)->fullname()}}</td>
@if($item->user_id == 0)
<td>Utilisateur non authentifié</td>
@elseif(\App\User::find($item->user_id))
<td>{{\App\User::find($item->user_id)->fullname()}}</td>
@else
<td>Utilisateur inconnu</td>
@endif
<td><a href="">{{$item->event}}</a></td>
</tr>
@endforeach