{{-- HEADER --}}
{{ __('Submit contents') }}
{{-- MAIN --}}
@if(request()->route()->getName() === 'library.table.lecturer')

{{ __('Lecturer Libraries') }}

@else

{{ __('Libraries') }}

@endif {{ __('Reset filtering and search') }}
{{--
--}}
@foreach($libraryItems as $libraryItem) @php $link = $isLecturerPage ? route('lecturerMaterial.view', ['libraryItem' => $libraryItem]) : route('libraryItem.view', ['libraryItem' => $libraryItem]); @endphp
{{ $libraryItem->tags->pluck('name')->join(', ') }}

{{ $libraryItem->name }}

{{ strip_tags($libraryItem->excerpt) }}

{{ $libraryItem->lecturer->name }} {{ $libraryItem->lecturer->name }}
{{ $libraryItem->lecturer->name }}
@if($libraryItem->read_time) {{ $libraryItem->read_time }} {{ __('min read') }} @endif
{{ __('Edit') }}
@endforeach
@if($libraryItems->hasMorePages()) {{ __('load more...') }} @endif
{{-- FOOTER --}} @feature('nostr.groups') @endfeature