Bugfix Order
This commit is contained in:
@@ -25,11 +25,16 @@
|
||||
@if($user->admin)
|
||||
@if($user->name != "Daniel")
|
||||
<button class="btn btn-primary btn-xs" type="button">Admin</button>
|
||||
<a class="btn btn-warning btn-xs" type="button" href="{{ url('users/rmadm/' . $user->id) }}">Rechte entziehen</a>
|
||||
<a class="btn btn-default btn-xs" type="button" href="{{ url('users/rmadm/' . $user->id) }}">Rechte entziehen</a>
|
||||
@else
|
||||
—
|
||||
@endif
|
||||
@else
|
||||
@if(!$user->getSetting("disabled"))
|
||||
<a class="btn btn-default btn-xs" type="button" href="{{ url("users/inact/" . $user->id) }}">Deaktivieren</a>
|
||||
@else
|
||||
<a class="btn btn-default btn-xs" type="button" href="{{ url("users/act/" . $user->id) }}">Aktivieren</a>
|
||||
@endif
|
||||
<a class="btn btn-default btn-xs" type="button" href="{{ url('users/mkadm/' . $user->id) }}">Zum Admin machen</a>
|
||||
<a class="btn btn-danger btn-xs" type="button" href="{{ url('users/rmusr/' . $user->id) }}">Löschen</a>
|
||||
@endif
|
||||
|
Reference in New Issue
Block a user