mirror of
https://github.com/Einundzwanzig-Podcast/einundzwanzig-portal.git
synced 2025-12-11 06:46:47 +00:00
lecturer landing pages added
This commit is contained in:
@@ -12,15 +12,21 @@
|
||||
</x-button>
|
||||
@endif
|
||||
@if($row->library_items_count > 0)
|
||||
<x-button amber wire:click="lecturerSearch({{ $row->id }})">
|
||||
<x-button amber wire:click="lecturerSearch({{ $row->id }}, false)">
|
||||
<i class="fa fa-thin fa-book mr-2"></i>
|
||||
{{ __('Show content') }} ({{ $row->library_items_count }})
|
||||
</x-button>
|
||||
@endif
|
||||
@if($row->library_items_count < 1)
|
||||
<x-button outlined wire:click="lecturerSearch({{ $row->id }})">
|
||||
<x-button outlined wire:click="lecturerSearch({{ $row->id }}, false)">
|
||||
<i class="fa fa-thin fa-book mr-2"></i>
|
||||
{{ __('Show content') }} ({{ $row->library_items_count }})
|
||||
</x-button>
|
||||
@endif
|
||||
<x-button
|
||||
:href="route('school.landingPage.lecturer', ['country' => $country, 'lecturer' => $row->id])"
|
||||
amber>
|
||||
<i class="fa fa-thin fa-browser mr-2"></i>
|
||||
{{ __('Show landing page') }}
|
||||
</x-button>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user