Enhance Event admin UI and fix translations
Some checks failed
linter / quality (push) Has been cancelled
tests / ci (push) Has been cancelled
tests / ui (push) Has been cancelled

- Remove default_locale and primary_join_token columns from event list
- Add read-only join link field to event edit form
- Add missing translations for used/remaining photos and join link
- Fix array-to-string conversion error in join link modal
This commit is contained in:
Codex Agent
2026-01-21 11:20:22 +01:00
parent a038594130
commit b9708d5174
4 changed files with 19 additions and 22 deletions

View File

@@ -365,13 +365,15 @@ return [
'default_locale' => 'Standardsprache',
'is_active' => 'Aktiv',
'settings' => 'Einstellungen',
'join_link' => 'Einladungslink',
],
'table' => [
'tenant' => 'Mandant',
'join' => 'Beitreten',
'join_tokens_total' => 'Einladungen: :count',
'join_tokens_missing' => 'Noch keine Einladungen erstellt',
'package' => 'Paket',
'used_photos' => 'Fotos',
'remaining_photos' => 'Verbleibend',
],
'relation_managers' => [
'event_packages' => [

View File

@@ -363,16 +363,16 @@ return [
'date' => 'Event Date',
'type' => 'Event Type',
'default_locale' => 'Default Locale',
'is_active' => 'Is Active',
'settings' => 'Settings',
'join_link' => 'Invitation Link',
],
'table' => [
'tenant' => 'Tenant',
'join' => 'Join',
'join_tokens_total' => 'Invitations: :count',
'join_tokens_missing' => 'No invitations created yet',
'package' => 'Package',
],
'used_photos' => 'Used Photos',
'remaining_photos' => 'Remaining', ],
'relation_managers' => [
'event_packages' => [
'title' => 'Event Packages',

View File

@@ -13,7 +13,7 @@
<div {{ $stacked }}>
<x-filament::section
:heading="__('admin.events.join_link.event_label')"
:description="$event->name"
:description="is_array($event->name) ? ($event->name['de'] ?? collect($event->name)->first() ?? '') : $event->name"
:icon="Heroicon::InformationCircle"
>
<x-slot name="afterHeader">