Add CRUD support for Cities and Venues

This commit is contained in:
HolgerHatGarKeineNode
2025-11-21 17:04:56 +01:00
parent d05485a406
commit 3481301720
11 changed files with 705 additions and 7 deletions

View File

@@ -47,9 +47,23 @@
{{ __('Dozenten') }}
</flux:navlist.item>
</flux:navlist.group>
{{--<flux:navlist.group :heading="__('Wallpaper')" class="grid">
</flux:navlist.group>--}}
<flux:navlist.group :heading="__('Diverses')" class="grid">
<flux:navlist.group :heading="__('Orte/Gebiete')" expandable :expanded="request()->routeIs('cities.*') || request()->routeIs('venues.*')">
<flux:navlist.item icon="building-office-2" :href="route_with_country('cities.index')"
:current="request()->routeIs('cities.index')"
wire:navigate
badge="{{ \App\Models\City::query()->count() }}">
{{ __('Städte/Gebiete') }}
</flux:navlist.item>
<flux:navlist.item icon="map-pin" :href="route_with_country('venues.index')"
:current="request()->routeIs('venues.index')"
wire:navigate
badge="{{ \App\Models\Venue::query()->count() }}">
{{ __('Veranstaltungsorte') }}
</flux:navlist.item>
</flux:navlist.group>
</flux:navlist.group>
</flux:navlist>
<flux:spacer/>