mirror of
https://github.com/snipe/snipe-it.git
synced 2024-11-09 23:24:06 -08:00
Few more
Signed-off-by: snipe <snipe@snipe.net>
This commit is contained in:
parent
e048f0955f
commit
6f024849e9
|
@ -394,6 +394,6 @@ class DepreciationReportPresenter extends Presenter
|
|||
|
||||
public function glyph()
|
||||
{
|
||||
return '<i class="fas fa-barcode" aria-hidden="true"></i>';
|
||||
return '<x-icon type="reports" class="text-orange" />';
|
||||
}
|
||||
}
|
||||
|
|
|
@ -544,7 +544,7 @@
|
|||
<td>{{ $file->created_at }}</td>
|
||||
<td>
|
||||
<a class="btn delete-asset btn-danger btn-sm" href="{{ route('delete/licensefile', [$license->id, $file->id]) }}" data-content="{{ trans('general.delete_confirm', ['item' => $file->filename]) }}" data-title="{{ trans('general.delete') }}">
|
||||
<i class="fas fa-trash icon-white" aria-hidden="true"></i>
|
||||
<x-icon type="delete" />
|
||||
<span class="sr-only">{{ trans('general.delete') }}</span>
|
||||
</a>
|
||||
</td>
|
||||
|
|
|
@ -131,7 +131,7 @@
|
|||
@if (config('app.lock_passwords') && ($user->id))
|
||||
<!-- disallow changing existing usernames on the demo -->
|
||||
<div class="col-md-8 col-md-offset-3">
|
||||
<p class="text-warning"><i class="fas fa-lock"></i> {{ trans('general.feature_disabled') }}</p>
|
||||
<p class="text-warning"><x-icon type="lock" /> {{ trans('general.feature_disabled') }}</p>
|
||||
</div>
|
||||
@endif
|
||||
|
||||
|
@ -215,7 +215,7 @@
|
|||
{{ trans('admin/users/general.activated_help_text') }}
|
||||
|
||||
</label>
|
||||
<p class="text-warning"><i class="fas fa-lock"></i> {{ trans('general.feature_disabled') }}</p>
|
||||
<p class="text-warning"><x-icon type="lock" /> {{ trans('general.feature_disabled') }}</p>
|
||||
|
||||
@elseif ($user->id === Auth::user()->id)
|
||||
<!-- disallow the user from editing their own login status -->
|
||||
|
|
|
@ -168,7 +168,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>
|
||||
<x-icon type="superadmin" class="fa-2x {{ ($user->isSuperUser()) ? 'text-danger' : 'text-orange'}}" />
|
||||
<div class="{{ ($user->isSuperUser()) ? 'text-danger' : ' text-orange'}}" style="font-weight: bold">{{ ($user->isSuperUser()) ? strtolower(trans('general.superuser')) : strtolower(trans('general.admin')) }}</div>
|
||||
@endif
|
||||
|
||||
|
@ -348,13 +348,9 @@
|
|||
<div class="col-md-9">
|
||||
|
||||
@if ($user->isSuperUser())
|
||||
<label class="label label-danger" data-tooltip="true" title="{{ trans('general.superuser_tooltip') }}">
|
||||
<x-icon type="superadmin" title="{{ trans('general.superuser') }}" />
|
||||
</label>
|
||||
<span class="label label-danger" data-tooltip="true" title="{{ trans('general.superuser_tooltip') }}"><x-icon type="superadmin" title="{{ trans('general.superuser') }}" /></span>
|
||||
@elseif ($user->hasAccess('admin'))
|
||||
<label class="label label-warning" data-tooltip="true" title="{{ trans('general.admin_tooltip') }}">
|
||||
<x-icon type="superadmin" title="{{ trans('general.admin') }}" />
|
||||
</label>
|
||||
<span class="label label-warning" data-tooltip="true" title="{{ trans('general.admin_tooltip') }}"><x-icon type="superadmin" title="{{ trans('general.admin') }}" /></span>
|
||||
@endif
|
||||
{{ $user->username }}
|
||||
|
||||
|
|
Loading…
Reference in a new issue