Display an Incident and Component count in the sidebar.
This commit is contained in:
@@ -85,6 +85,16 @@ body.dashboard {
|
||||
&:hover {
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
span {
|
||||
&.label {
|
||||
float: right;
|
||||
margin: 6px 0;
|
||||
&.label-info {
|
||||
background-color: $cachet-primary;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
&.sub-nav-item {
|
||||
|
||||
@@ -39,6 +39,7 @@
|
||||
<a href="{{ route('dashboard.incidents') }}">
|
||||
<i class="icon ion-android-alert"></i>
|
||||
<span>{{ trans('dashboard.incidents.incidents') }}</span>
|
||||
<span class="label label-info">{{ $incidentCount }}</span>
|
||||
</a>
|
||||
</li>
|
||||
<li {{ set_active('dashboard/templates*') }}>
|
||||
@@ -51,6 +52,7 @@
|
||||
<a href="{{ route('dashboard.components') }}">
|
||||
<i class="icons ion-outlet"></i>
|
||||
<span>{{ trans('dashboard.components.components') }}</span>
|
||||
<span class="label label-info">{{ $componentCount }}</span>
|
||||
</a>
|
||||
</li>
|
||||
<li {{ set_active('dashboard/team*') }}>
|
||||
|
||||
Reference in New Issue
Block a user