mirror of
https://github.com/snipe/snipe-it.git
synced 2026-02-04 16:45:34 +00:00
@ -102,6 +102,10 @@ class ActionlogPresenter extends Presenter
|
|||||||
return 'fas fa-sticky-note';
|
return 'fas fa-sticky-note';
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if ($this->action_type == 'audit') {
|
||||||
|
return 'fas fa-clipboard-check';
|
||||||
|
}
|
||||||
|
|
||||||
return 'fa-solid fa-rotate-right';
|
return 'fa-solid fa-rotate-right';
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
@ -526,7 +526,7 @@ dir="{{ Helper::determineLanguageDirection() }}">
|
|||||||
@can('audit', \App\Models\Asset::class)
|
@can('audit', \App\Models\Asset::class)
|
||||||
<li{!! (Request::is('hardware/audit/due') ? ' class="active"' : '') !!}>
|
<li{!! (Request::is('hardware/audit/due') ? ' class="active"' : '') !!}>
|
||||||
<a href="{{ route('assets.audit.due') }}">
|
<a href="{{ route('assets.audit.due') }}">
|
||||||
<x-icon type="due" class="text-yellow fa-fw"/>
|
<x-icon type="audit" class="text-yellow fa-fw"/>
|
||||||
{{ trans('general.audit_due') }}
|
{{ trans('general.audit_due') }}
|
||||||
<span class="badge">{{ (isset($total_due_and_overdue_for_audit)) ? $total_due_and_overdue_for_audit : '' }}</span>
|
<span class="badge">{{ (isset($total_due_and_overdue_for_audit)) ? $total_due_and_overdue_for_audit : '' }}</span>
|
||||||
</a>
|
</a>
|
||||||
|
|||||||
Reference in New Issue
Block a user