mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2024-11-14 07:02:34 +01:00
34 lines
1.6 KiB
PHP
34 lines
1.6 KiB
PHP
|
<nav class="sm:hidden mb-4">
|
||
|
<a href="{{ url()->previous() }}"
|
||
|
class="flex items-center text-sm leading-5 font-medium text-gray-500 hover:text-gray-700 focus:outline-none focus:underline transition duration-150 ease-in-out">
|
||
|
<svg class="flex-shrink-0 -ml-1 mr-1 h-5 w-5 text-gray-400" fill="currentColor" viewBox="0 0 20 20">
|
||
|
<path fill-rule="evenodd"
|
||
|
d="M12.707 5.293a1 1 0 010 1.414L9.414 10l3.293 3.293a1 1 0 01-1.414 1.414l-4-4a1 1 0 010-1.414l4-4a1 1 0 011.414 0z"
|
||
|
clip-rule="evenodd"/>
|
||
|
</svg>
|
||
|
{{ ctrans('texts.back') }}
|
||
|
</a>
|
||
|
</nav>
|
||
|
|
||
|
@if (count($breadcrumbs))
|
||
|
|
||
|
<nav class="hidden sm:flex items-center text-sm leading-5 font-medium mb-4">
|
||
|
@foreach ($breadcrumbs as $breadcrumb)
|
||
|
|
||
|
@if ($breadcrumb->url && !$loop->last)
|
||
|
<a href="{{ $breadcrumb->url }}"
|
||
|
class="text-gray-500 hover:text-gray-700 focus:outline-none focus:underline transition duration-150 ease-in-out">{{ $breadcrumb->title }}</a>
|
||
|
<svg class="flex-shrink-0 mx-2 h-5 w-5 text-gray-400" fill="currentColor" viewBox="0 0 20 20">
|
||
|
<path fill-rule="evenodd"
|
||
|
d="M7.293 14.707a1 1 0 010-1.414L10.586 10 7.293 6.707a1 1 0 011.414-1.414l4 4a1 1 0 010 1.414l-4 4a1 1 0 01-1.414 0z"
|
||
|
clip-rule="evenodd"/>
|
||
|
</svg>
|
||
|
@else
|
||
|
<a class="text-gray-500 hover:text-gray-700 focus:outline-none focus:underline transition duration-150 ease-in-out">{{ $breadcrumb->title }}</a>
|
||
|
@endif
|
||
|
|
||
|
@endforeach
|
||
|
</nav>
|
||
|
|
||
|
@endif
|