mirror of
https://github.com/snipe/snipe-it.git
synced 2024-12-25 05:34:06 -08:00
Changed sidenav badge class
Signed-off-by: snipe <snipe@snipe.net>
This commit is contained in:
parent
4b6d236eb7
commit
bd8737d986
|
@ -437,7 +437,7 @@
|
|||
<a href="{{ url('hardware') }}">
|
||||
<i class="far fa-circle text-grey fa-fw" aria-hidden="true"></i>
|
||||
{{ trans('general.list_all') }}
|
||||
<badge class="badge badge-secondary">
|
||||
<badge class="badge">
|
||||
{{ (isset($total_assets)) ? $total_assets : '' }}
|
||||
</badge>
|
||||
</a>
|
||||
|
@ -461,7 +461,7 @@
|
|||
<i class="far fa-circle text-blue fa-fw"></i>
|
||||
{{ trans('general.all') }}
|
||||
{{ trans('general.deployed') }}
|
||||
<badge class="badge badge-secondary">{{ (isset($total_deployed_sidebar)) ? $total_deployed_sidebar : '' }}</badge>
|
||||
<badge class="badge">{{ (isset($total_deployed_sidebar)) ? $total_deployed_sidebar : '' }}</badge>
|
||||
</a>
|
||||
</li>
|
||||
<li{!! (Request::query('status') == 'RTD' ? ' class="active"' : '') !!}>
|
||||
|
@ -469,7 +469,7 @@
|
|||
<i class="far fa-circle text-green fa-fw"></i>
|
||||
{{ trans('general.all') }}
|
||||
{{ trans('general.ready_to_deploy') }}
|
||||
<badge class="badge badge-secondary">{{ (isset($total_rtd_sidebar)) ? $total_rtd_sidebar : '' }}</badge>
|
||||
<badge class="badge">{{ (isset($total_rtd_sidebar)) ? $total_rtd_sidebar : '' }}</badge>
|
||||
</a>
|
||||
</li>
|
||||
<li{!! (Request::query('status') == 'Pending' ? ' class="active"' : '') !!}><a
|
||||
|
@ -477,7 +477,7 @@
|
|||
class="far fa-circle text-orange fa-fw"></i>
|
||||
{{ trans('general.all') }}
|
||||
{{ trans('general.pending') }}
|
||||
<badge class="badge badge-secondary">{{ (isset($total_pending_sidebar)) ? $total_pending_sidebar : '' }}</badge>
|
||||
<badge class="badge">{{ (isset($total_pending_sidebar)) ? $total_pending_sidebar : '' }}</badge>
|
||||
</a>
|
||||
</li>
|
||||
<li{!! (Request::query('status') == 'Undeployable' ? ' class="active"' : '') !!} ><a
|
||||
|
@ -485,7 +485,7 @@
|
|||
class="fas fa-times text-red fa-fw"></i>
|
||||
{{ trans('general.all') }}
|
||||
{{ trans('general.undeployable') }}
|
||||
<badge class="badge badge-secondary">{{ (isset($total_undeployable_sidebar)) ? $total_undeployable_sidebar : '' }}</badge>
|
||||
<badge class="badge">{{ (isset($total_undeployable_sidebar)) ? $total_undeployable_sidebar : '' }}</badge>
|
||||
</a>
|
||||
</li>
|
||||
<li{!! (Request::query('status') == 'byod' ? ' class="active"' : '') !!}><a
|
||||
|
@ -493,7 +493,7 @@
|
|||
class="fas fa-times text-red fa-fw"></i>
|
||||
{{ trans('general.all') }}
|
||||
{{ trans('general.byod') }}
|
||||
<badge class="badge badge-secondary">{{ (isset($total_byod_sidebar)) ? $total_byod_sidebar : '' }}</badge>
|
||||
<badge class="badge">{{ (isset($total_byod_sidebar)) ? $total_byod_sidebar : '' }}</badge>
|
||||
</a>
|
||||
</li>
|
||||
<li{!! (Request::query('status') == 'Archived' ? ' class="active"' : '') !!}><a
|
||||
|
@ -501,7 +501,7 @@
|
|||
class="fas fa-times text-red fa-fw"></i>
|
||||
{{ trans('general.all') }}
|
||||
{{ trans('admin/hardware/general.archived') }}
|
||||
<badge class="badge badge-secondary">{{ (isset($total_archived_sidebar)) ? $total_archived_sidebar : '' }}</badge>
|
||||
<badge class="badge">{{ (isset($total_archived_sidebar)) ? $total_archived_sidebar : '' }}</badge>
|
||||
</a>
|
||||
</li>
|
||||
<li{!! (Request::query('status') == 'Requestable' ? ' class="active"' : '') !!}><a
|
||||
|
@ -515,13 +515,13 @@
|
|||
<li{!! (Request::is('hardware/audit/due') ? ' class="active"' : '') !!}>
|
||||
<a href="{{ route('assets.audit.due') }}">
|
||||
<i class="fas fa-history text-yellow fa-fw"></i> {{ trans('general.audit_due') }}
|
||||
<badge class="badge badge-secondary">{{ (isset($total_due_for_audit)) ? $total_due_for_audit : '' }}</badge>
|
||||
<badge class="badge">{{ (isset($total_due_for_audit)) ? $total_due_for_audit : '' }}</badge>
|
||||
</a>
|
||||
</li>
|
||||
<li{!! (Request::is('hardware/audit/overdue') ? ' class="active"' : '') !!}>
|
||||
<a href="{{ route('assets.audit.overdue') }}">
|
||||
<i class="fas fa-exclamation-triangle text-red fa-fw"></i> {{ trans('general.audit_overdue') }}
|
||||
<badge class="badge badge-secondary">{{ (isset($total_overdue_for_audit)) ? $total_overdue_for_audit : '' }}</badge>
|
||||
<badge class="badge">{{ (isset($total_overdue_for_audit)) ? $total_overdue_for_audit : '' }}</badge>
|
||||
</a>
|
||||
</li>
|
||||
@endcan
|
||||
|
|
Loading…
Reference in a new issue