@include('flash_msg')
@if(!empty($projects))
@foreach($projects as $key=>$value)
@endforeach
@if ($projects->count() == 0)
@endif
@endif
# | IMAGE | PROJECT TITLE | Action | ||
---|---|---|---|---|---|
{{ ++$key }} |
@if($value->image)
|
{{ $value->name }} | |||
No child categories to display. | |||||
# | Image | Project Title | Action |
Displaying {{$projects->count()}} of {{ $projects->total() }} child categories.
-
@if ($projects->currentPage() > 1)
- < @endif @if ($projects->currentPage() > 3)
- 1
- ... @endif @foreach(range(max(1, $projects->currentPage() - 2), min($projects->lastPage(), $projects->currentPage() + 2)) as $page)
- {{ $page }} @endforeach @if ($projects->currentPage() < $projects->lastPage() - 2)
- ...
- {{ $projects->lastPage() }} @endif @if ($projects->hasMorePages())
- > @endif