mirror of
https://github.com/snipe/snipe-it.git
synced 2024-11-09 23:24:06 -08:00
Refactored sidenav links for audit
Signed-off-by: snipe <snipe@snipe.net>
This commit is contained in:
parent
fbe9daace6
commit
c661d732b3
|
@ -512,12 +512,15 @@
|
||||||
<badge class="badge">{{ (isset($total_due_for_audit)) ? $total_due_for_audit : '' }}</badge>
|
<badge class="badge">{{ (isset($total_due_for_audit)) ? $total_due_for_audit : '' }}</badge>
|
||||||
</a>
|
</a>
|
||||||
</li>
|
</li>
|
||||||
<li{!! (Request::is('hardware/audit/overdue') ? ' class="active"' : '') !!}>
|
@endcan
|
||||||
<a href="{{ route('assets.audit.overdue') }}">
|
|
||||||
<i class="fas fa-exclamation-triangle text-red fa-fw"></i> {{ trans('general.audit_overdue') }}
|
@can('checkin', \App\Models\Asset::class)
|
||||||
<badge class="badge">{{ (isset($total_overdue_for_audit)) ? $total_overdue_for_audit : '' }}</badge>
|
<li{!! (Request::is('hardware/checkins/due') ? ' class="active"' : '') !!}>
|
||||||
</a>
|
<a href="{{ route('assets.checkins.due') }}">
|
||||||
</li>
|
<i class="fas fa-history text-yellow fa-fw"></i> {{ trans('general.checkin_due') }}
|
||||||
|
<badge class="badge">{{ (isset($total_overdue_for_checkin)) ? $total_overdue_for_checkin : '' }}</badge>
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
@endcan
|
@endcan
|
||||||
|
|
||||||
<li class="divider"> </li>
|
<li class="divider"> </li>
|
||||||
|
|
Loading…
Reference in a new issue