Richte Redaktionskarten und Redaktionskopf am Zeilenlayout aus.
Deploy Test / test (push) Successful in 1m3s
Deploy Test / deploy (push) Successful in 23s

This commit is contained in:
Lars committed 2026-11-19 21:31:39 +01:00
1 parent b9fe0e3791
commit 41658d98dd
12 files changed
+248 -68

No files matched your search

@@ -30,9 +30,7 @@ class="vw-karte"
@dragstart="from = {{ (int) $row['id'] }}"
@dragend="from = null"
@drop.prevent="if (from) { $wire.placePresentation(from, {{ (int) $row['id'] }}); from = null }">
@if ($row['ordered'])
<span class="vw-griff" aria-hidden="true">⋮⋮</span>
@endif
<span class="vw-griff" @unless ($row['ordered']) aria-hidden="true" @endunless>{{ $row['ordered'] ? '⋮⋮' : '' }}</span>
<span class="vw-daumen">
@if ($slug === 'galerie')
<span class="vw-nummer">{{ $index + 1 }}</span>
@@ -45,35 +43,39 @@ class="vw-karte"
</span>
<span class="vw-karte-text">
<strong>{{ $row['title'] }}</strong>
@if ($row['kind'])
<span>{{ $row['kind'] }}</span>
@endif
@if ($row['standard'])
<span>Standard-Titelbild</span>
@endif
<span class="vw-freigabe {{ $row['released'] ? 'is-frei' : 'is-zurueck' }}">{{ $row['release_label'] }}</span>
@if ($row['binding'])
<span>{{ $row['binding']['label'] }}</span>
@else
<span>Eigenständiges Medium, ohne Bindung an eine Fassung.</span>
@endif
</span>
<span class="vw-karte-aktionen">
<a class="vw-textaktion" href="{{ \App\Filament\Resources\ContentElements\ContentElementResource::getUrl('view', ['record' => $row['element_id']]) }}">Quelle öffnen</a>
@if ($this->canEditEditorial())
<button type="button" class="luf-quiet" wire:click="beginExchange({{ $row['id'] }})">Austauschen</button>
@if ($row['ordered'])
<button type="button" class="luf-quiet" wire:click="movePresentation({{ $row['id'] }}, -1)" @disabled($index === 0) aria-label="{{ $row['title'] }} nach vorn">Nach vorn</button>
<button type="button" class="luf-quiet" wire:click="movePresentation({{ $row['id'] }}, 1)" @disabled($index === count($group['rows']) - 1) aria-label="{{ $row['title'] }} nach hinten">Nach hinten</button>
<span class="vw-karte-meta">
@if ($row['kind'])
<span>{{ $row['kind'] }}</span>
@endif
<button type="button" class="luf-quiet" wire:click="detachPresentation({{ $row['id'] }})">Zuordnung entfernen</button>
@if ($this->canReleasePresentation())
@if ($row['standard'])
<span>Standard-Titelbild</span>
@endif
<span class="vw-freigabe {{ $row['released'] ? 'is-frei' : 'is-zurueck' }}">{{ $row['release_label'] }}</span>
@if ($this->canEditEditorial() && $this->canReleasePresentation())
@if ($row['released'])
<button type="button" class="vw-textaktion" wire:click="withdrawAssigned({{ $row['element_id'] }})">Website-Freigabe zurücknehmen</button>
@else
<button type="button" class="vw-textaktion" wire:click="releaseAssigned({{ $row['element_id'] }})">Für die Website freigeben</button>
@endif
@endif
</span>
<span class="vw-karte-fuss">
@if ($row['binding'])
<span class="vw-karte-neben">{{ $row['binding']['label'] }}</span>
@else
<span class="vw-karte-neben">Eigenständiges Medium, ohne Bindung an eine Fassung.</span>
@endif
<a class="vw-textaktion" href="{{ \App\Filament\Resources\ContentElements\ContentElementResource::getUrl('view', ['record' => $row['element_id']]) }}">Quelle öffnen</a>
</span>
</span>
<span class="vw-karte-aktionen">
@if ($this->canEditEditorial())
<button type="button" class="luf-quiet" wire:click="beginExchange({{ $row['id'] }})">Austauschen</button>
<button type="button" class="luf-quiet" wire:click="detachPresentation({{ $row['id'] }})">Zuordnung entfernen</button>
@if ($row['ordered'])
<button type="button" class="luf-quiet vw-sort" wire:click="movePresentation({{ $row['id'] }}, -1)" @disabled($index === 0) aria-label="{{ $row['title'] }} nach vorn">↑</button>
<button type="button" class="luf-quiet vw-sort" wire:click="movePresentation({{ $row['id'] }}, 1)" @disabled($index === count($group['rows']) - 1) aria-label="{{ $row['title'] }} nach hinten">↓</button>
@endif
@endif
</span>
</li>