mirror of
https://github.com/snipe/snipe-it.git
synced 2025-03-05 20:52:15 -08:00
Made icon possible for dashboard/home
Signed-off-by: snipe <snipe@snipe.net>
This commit is contained in:
parent
11b746d801
commit
129d44cc70
|
@ -842,22 +842,35 @@ dir="{{ Helper::determineLanguageDirection() }}">
|
|||
<h1 class="pull-left pagetitle" style="font-size: 22px; margin-top: 10px;">
|
||||
|
||||
@if (Breadcrumbs::has() && (Breadcrumbs::current()->count() > 1))
|
||||
<ul style="padding-left: 0;">
|
||||
|
||||
@foreach (Breadcrumbs::current() as $crumbs)
|
||||
@if ($crumbs->url() && !$loop->last)
|
||||
<li class="breadcrumb-item">
|
||||
<a href="{{ $crumbs->url() }}">
|
||||
{{ $crumbs->title() }}
|
||||
</a> <i class="fa-solid fa-angle-right"></i>
|
||||
@if ($loop->first)
|
||||
{!! Blade::render($crumbs->title()) !!}
|
||||
@else
|
||||
{{ Blade::render($crumbs->title()) }}
|
||||
@endif
|
||||
</a>
|
||||
<x-icon type="angle-right" />
|
||||
</li>
|
||||
@else
|
||||
@elseif (is_null($crumbs->url()) && !$loop->last)
|
||||
<li class="breadcrumb-item active">
|
||||
{{ $crumbs->title() }}
|
||||
<x-icon type="angle-right" />
|
||||
</li>
|
||||
@else
|
||||
<li class="breadcrumb-item active">
|
||||
{{ $crumbs->title() }}
|
||||
</li>
|
||||
@endif
|
||||
@endforeach
|
||||
|
||||
</ul>
|
||||
@else
|
||||
@yield('title')
|
||||
@yield('title')
|
||||
@endif
|
||||
|
||||
</h1>
|
||||
|
|
Loading…
Reference in a new issue