mirror of
https://github.com/snipe/snipe-it.git
synced 2024-12-24 21:24:13 -08:00
Fixed weird extra padding on crown
Signed-off-by: snipe <snipe@snipe.net>
This commit is contained in:
parent
2262ef818e
commit
46d055cf74
|
@ -158,7 +158,7 @@
|
|||
<div class="col-md-12 text-center">
|
||||
|
||||
@if (($user->isSuperUser()) || ($user->hasAccess('admin')))
|
||||
<i class="fas fa-crown fa-2x {{ ($user->isSuperUser()) ? 'text-danger' : ' text-orange'}}"></i>
|
||||
<i class="fas fa-crown fa-2x{{ ($user->isSuperUser()) ? ' text-danger' : ' text-orange'}}"></i>
|
||||
<div class="{{ ($user->isSuperUser()) ? 'text-danger' : ' text-orange'}}" style="font-weight: bold">{{ ($user->isSuperUser()) ? 'superadmin' : 'admin'}}</div>
|
||||
@endif
|
||||
|
||||
|
@ -280,13 +280,9 @@
|
|||
<div class="col-md-9">
|
||||
|
||||
@if ($user->isSuperUser())
|
||||
<label class="label label-danger">
|
||||
<i class="fas fa-crown" title="superuser"></i>
|
||||
</label>
|
||||
<label class="label label-danger"><i class="fas fa-crown" title="superuser"></i></label>
|
||||
@elseif ($user->hasAccess('admin'))
|
||||
<label class="label label-warning">
|
||||
<i class="fas fa-crown" title="admin"></i>
|
||||
</label>
|
||||
<label class="label label-warning"><i class="fas fa-crown" title="admin"></i></label>
|
||||
@endif
|
||||
{{ $user->username }}
|
||||
|
||||
|
|
Loading…
Reference in a new issue