diff --git a/app/Filament/Resources/LicenseArticles/Pages/ViewLicenseArticle.php b/app/Filament/Resources/LicenseArticles/Pages/ViewLicenseArticle.php index 3199fd7..b865732 100644 --- a/app/Filament/Resources/LicenseArticles/Pages/ViewLicenseArticle.php +++ b/app/Filament/Resources/LicenseArticles/Pages/ViewLicenseArticle.php @@ -175,7 +175,13 @@ public function redaktionTitel(): string $profile = $this->editorialProfile('artikel'); - return (string) ($profile->value('display_title') ?? $this->getRecord()->code); + if ($profile->value('display_title') !== null) { + return (string) $profile->value('display_title'); + } + + $source = $profile->source; + + return $source !== null ? $this->sourceTitle($source) : (string) $this->getRecord()->code; } /** diff --git a/resources/views/filament/editorial/editor.blade.php b/resources/views/filament/editorial/editor.blade.php index 41ddb0a..c5cd0a1 100644 --- a/resources/views/filament/editorial/editor.blade.php +++ b/resources/views/filament/editorial/editor.blade.php @@ -199,6 +199,7 @@
@if ($this->selected !== null && ($usage = $this->selectedMember())) +

{{ $usage['title'] }}

Verwendung in diesem Aufbau

@@ -218,6 +219,7 @@ @if (filled($usage['note'] ?? null))

Hinweis an dieser Stelle
{{ $usage['note'] }}

@endif +
@endif

Überblick

diff --git a/resources/views/filament/verwaltung/styles.blade.php b/resources/views/filament/verwaltung/styles.blade.php index 06f0de2..d2bb4c5 100644 --- a/resources/views/filament/verwaltung/styles.blade.php +++ b/resources/views/filament/verwaltung/styles.blade.php @@ -83,7 +83,7 @@ .vw-kopf-typ { color: var(--vw-quiet); } .vw-kopf-aktionen { display: flex; flex-wrap: wrap; gap: 0.6rem; align-items: center; justify-content: flex-end; } .vw-status { display: flex; align-items: flex-start; gap: 0.55rem; color: var(--vw-quiet); } - .vw-status-aktion { min-height: 1.5rem; margin-left: 0.5rem; padding: 0; } + .vw-kopf .vw-status .vw-status-aktion { min-height: 0; margin-left: 0.5rem; padding: 0; line-height: inherit; vertical-align: baseline; } .vw-punkt { width: 0.65rem; height: 0.65rem; border-radius: 50%; background: #9fb0a3; flex: none; margin-top: 0.45rem; } .vw-punkt.is-offen { background: #e3a008; } .vw-punkt.is-gut { background: var(--vw-pine); } @@ -203,6 +203,7 @@ .vw-kachel .vw-bild { width: 8rem; } .vw-kachel-text { grid-area: text; display: grid; gap: 0.2rem; min-width: 0; padding-right: 2.25rem; } .vw-kachel-text strong { line-height: 1.3; overflow-wrap: anywhere; } + .vw-kachel-text .vw-freigabe { white-space: nowrap; } .vw-kachel .vw-mehr { position: absolute; right: 0.35rem; top: 0.35rem; } .vw-mehr { position: relative; } .vw-mehr-menue {