@if ($this->redaktionOpen) @include('filament.verwaltung.redaktion') @else @php /** @var \App\Domain\Catalog\LicenseArticle $artikel */ $artikel = $this->getRecord(); $profil = $this->editorialProfile('artikel'); $quelle = $this->redaktionQuelle(); $titel = $this->redaktionTitel(); $offen = $this->redaktionOffen(); $aktionen = []; if ($this->canEditEditorial()) { $aktionen[] = ['label' => 'Redaktion bearbeiten', 'wire' => "openRedaktion('texte')", 'art' => 'line', 'icon' => 'stift']; } $mehr = [ ['label' => 'Stand veröffentlichen', 'wire' => "mountAction('release')", 'hinweis' => 'Neuer Artikelstand aus einer freigegebenen Fassung.'], ['label' => 'Stand zurückziehen', 'wire' => "mountAction('withdraw')", 'hinweis' => 'Rechtlich notwendiger Rückzug mit Begründung.', 'gefahr' => true], ]; @endphp
@include('filament.verwaltung.kopf', [ 'brot' => ['Lizenzartikel', $titel], 'titel' => $titel, 'typ' => 'Lizenzartikel · Kennung '.$artikel->code.($artikel->product_line ? ' · '.$artikel->product_line : ''), 'status' => [ ['text' => \Illuminate\Support\Str::before($stand[0] ?? '', ' · Dasselbe'), 'ton' => $artikel->current_release_id ? 'gut' : 'neutral'], $offen ? ['text' => 'Redaktion mit ungespeicherten Änderungen', 'ton' => 'offen', 'aktion' => ['label' => 'Zur Redaktion', 'wire' => "openRedaktion('".$this->redaktionTab."')"]] : null, ], 'aktionen' => $aktionen, 'mehr' => $mehr, ]) @if ($this->deskFeedback !== '')

{{ $this->deskFeedback }}

@endif

Präsentation des Artikels

@if ($quelle) Quelle: {{ $quelle['titel'] }} ({{ $quelle['art'] }}) @endif
@foreach (['display_title' => 'Name', 'teaser' => 'Teaser', 'summary' => 'Kurzbeschreibung'] as $feld => $label)
{{ $label }}
{{ $profil->value($feld) ?? 'Keine Angabe' }} @if ($profil->origin($feld) === 'quelle') Übernommen @elseif ($profil->origin($feld) === 'eigen') Eigene Angabe @endif
@endforeach
Präsentationsmedien
{{ count(app(\App\Domain\Catalog\PresentationMedia::class)->staged($artikel)) }} Zuordnungen
@if ($this->canEditEditorial())
@endif
@endif