Use icon and string for maintained value in license view

Signed-off-by: snipe <snipe@snipe.net>
This commit is contained in:
snipe 2021-10-28 17:26:03 -07:00
parent 2d782cd31f
commit 3ede7c7f18

View file

@ -339,13 +339,13 @@
@endif
<div class="row">
<div class="col-md-4">
<div class="col-md-3">
<strong>
{{ trans('admin/licenses/form.maintained') }}
</strong>
</div>
<div class="col-md-8">
{{ $license->maintained ? 'Yes' : 'No' }}
<div class="col-md-9">
{!! $license->maintained ? '<i class="fas fa-check text-success" aria-hidden="true"></i> '.trans('general.yes') : '<i class="fas fa-times text-danger" aria-hidden="true"></i> '.trans('general.no') !!}
</div>
</div>