laravel-6 support

This commit is contained in:
RafficMohammed
2023-01-08 01:17:22 +05:30
parent 1a5c16ae4b
commit 774eed8b0e
4962 changed files with 279380 additions and 297961 deletions

View File

@@ -1,22 +1,30 @@
@if ($breadcrumbs)
<ul class="breadcrumb">
@foreach ($breadcrumbs as $breadcrumb)
@if ($breadcrumb->last)
<li class="active">
{{ $breadcrumb->title }}
</li>
@elseif ($breadcrumb->url)
<li>
<a href="{{ $breadcrumb->url }}">{{ $breadcrumb->title }}</a>
<span class="divider">/</span>
</li>
@else
{{-- Using .active to give it the right colour (grey by default) --}}
<li class="active">
{{ $breadcrumb->title }}
<span class="divider">/</span>
</li>
@endif
@endforeach
</ul>
@if (count($breadcrumbs))
<ul class="breadcrumb">
@foreach ($breadcrumbs as $breadcrumb)
@if ($loop->last)
<li class="active">
{{ $breadcrumb->title }}
</li>
@elseif ($breadcrumb->url)
<li>
<a href="{{ $breadcrumb->url }}">{{ $breadcrumb->title }}</a>
<span class="divider">/</span>
</li>
@else
{{-- Using .active to give it the right colour (grey by default) --}}
<li class="active">
{{ $breadcrumb->title }}
<span class="divider">/</span>
</li>
@endif
@endforeach
</ul>
@endif