mirror of
https://github.com/Einundzwanzig-Podcast/einundzwanzig-portal.git
synced 2025-12-11 06:46:47 +00:00
filters updated
This commit is contained in:
5
resources/views/columns/library_items/tags.blade.php
Normal file
5
resources/views/columns/library_items/tags.blade.php
Normal file
@@ -0,0 +1,5 @@
|
||||
<div class="flex items-center">
|
||||
@foreach($row->tags as $tag)
|
||||
<x-badge>{{ $tag->name }}</x-badge>
|
||||
@endforeach
|
||||
</div>
|
||||
@@ -13,7 +13,7 @@
|
||||
@endphp
|
||||
<a
|
||||
class="{{ $activeClass }} flex relative flex-col flex-shrink-0 justify-between py-1 px-3 w-full h-20 border-0 border-solid duration-300 ease-in-out cursor-pointer bg-opacity-[0.07]"
|
||||
href="#"
|
||||
href="{{ route('library', ['country' => $country, 'table' => ['filters' => ['tag' => [$tag->id]]]]) }}"
|
||||
>
|
||||
<div
|
||||
class="flex flex-1 items-center p-0 m-0 text-center align-baseline border-0 border-solid"
|
||||
@@ -35,14 +35,14 @@
|
||||
<div
|
||||
class="hidden p-0 m-0 text-sm leading-3 text-left text-blue-100 align-baseline border-0 border-solid md:block md:text-blue-100 whitespace-nowrap"
|
||||
>
|
||||
0
|
||||
{{ $tag->libraryItems->pluck('lecturer.name')->unique()->count() }}
|
||||
Dozenten
|
||||
<span
|
||||
class="inline-block relative top-px py-0 px-1 m-0 text-xs leading-4 align-baseline border-0 border-solid"
|
||||
>
|
||||
•
|
||||
</span>
|
||||
0
|
||||
{{ $tag->library_items_count }}
|
||||
Inhalte
|
||||
</div>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user