You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
12 lines
488 B
12 lines
488 B
@inject('projectStatuses', 'App\Entities\Projects\Status')
|
|
|
|
<ul class="nav nav-second-level">
|
|
@foreach($projectStatuses::toArray() as $statusId => $status)
|
|
@php
|
|
$projectCount = array_key_exists($statusId, $projectStatusStats) ? $projectStatusStats[$statusId] : 0;
|
|
$status .= '<span class="badge pull-right">'.$projectCount.'</span>';
|
|
@endphp
|
|
<li>{!! html_link_to_route('projects.index', $status, ['status_id' => $statusId]) !!}</li>
|
|
|
|
@endforeach
|
|
</ul>
|