mirror of
https://github.com/snipe/snipe-it.git
synced 2025-01-12 14:27:33 -08:00
Added gated sidenav items to left nav
This commit is contained in:
parent
8154d1116c
commit
69614a7db4
|
@ -440,6 +440,19 @@
|
|||
</a>
|
||||
</li>
|
||||
|
||||
@can('audit', \App\Models\Asset::class)
|
||||
<li>
|
||||
<a href="{{ route('assets.audit.due') }}">
|
||||
<i class="fa fa-clock-o text-yellow"></i> Due for Audit
|
||||
</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="{{ route('assets.audit.overdue') }}">
|
||||
<i class="fa fa-warning text-red"></i> Overdue for Audit
|
||||
</a>
|
||||
</li>
|
||||
@endcan
|
||||
|
||||
<li class="divider"> </li>
|
||||
@can('checkout', \App\Models\Asset::class)
|
||||
<li{!! (Request::is('hardware/bulkcheckout') ? ' class="active>"' : '') !!}>
|
||||
|
|
Loading…
Reference in a new issue