Enhance Event admin UI and fix translations
- 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:
@@ -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' => [
|
||||
|
||||
@@ -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',
|
||||
|
||||
@@ -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">
|
||||
|
||||
Reference in New Issue
Block a user