{!! icon($icon) !!} {{ empty($resource) && !empty($text) ? $text : __('admin.' . $resource . '.index') }}
@if (!empty($resource)) {!! icon('plus') !!} {{ __('admin.' . $resource . '.create') }} @if(!empty($extra)) @foreach (\Illuminate\Support\Arr::wrap($extra) as $e => $i) {!! icon($i) !!} {{ __('admin.' . $resource . '.' . $e) }} @endforeach @endif {!! icon('list') !!} {{ __('admin.' . $resource . '.index') }} @endif @if (!empty($items)) @foreach ($items as $text => $values) {!! icon($values[1]) !!} {{ $text }} @endforeach @endif