Bilder, Filme und Hörstücke lassen sich zuordnen und für die Website freigeben, ohne eine fachliche Fassung anzulegen. Unterrichtsfilme behalten die Teaserfassung an ihrer bereitgestellten Fassung. Co-authored-by: Cursor <cursoragent@cursor.com>
66 lines
3.5 KiB
PHP
66 lines
3.5 KiB
PHP
<div class="luf-redaktion">
|
|
<p>Zugeordnet wird ein Medium aus dem Bestand. Die Rolle gilt nur für diese Zuordnung. Sie gibt das Medium nicht frei und nimmt es nicht in den Lehrinhalt auf.</p>
|
|
@if ($gaps = $this->editorialGaps())
|
|
<p>Noch ohne Angabe: {{ implode(', ', $gaps) }}.</p>
|
|
@endif
|
|
@if ($this->deskFeedback !== '')
|
|
<p role="status">{{ $this->deskFeedback }}</p>
|
|
@endif
|
|
|
|
@if ($rows = $this->presentationRows())
|
|
<ul>
|
|
@foreach ($rows as $row)
|
|
<li wire:key="praesentation-{{ $row['id'] }}">
|
|
<strong>{{ $row['title'] }}</strong>
|
|
<span>{{ $row['role_label'] }}@if ($row['standard']) · Standard-Titelbild @endif</span>
|
|
@if ($row['kind'])
|
|
<span>{{ $row['kind'] }}</span>
|
|
@endif
|
|
<span>{{ $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>
|
|
<a href="{{ \App\Filament\Resources\ContentElements\ContentElementResource::getUrl('view', ['record' => $row['element_id']]) }}">Im Medienmanager öffnen</a>
|
|
@if ($this->canEditEditorial())
|
|
@if ($row['ordered'])
|
|
<button type="button" wire:click="movePresentation({{ $row['id'] }}, -1)">Nach vorn</button>
|
|
<button type="button" wire:click="movePresentation({{ $row['id'] }}, 1)">Nach hinten</button>
|
|
@endif
|
|
<button type="button" wire:click="detachPresentation({{ $row['id'] }})">Zuordnung lösen</button>
|
|
@if ($this->canReleasePresentation())
|
|
@if ($row['released'])
|
|
<button type="button" wire:click="withdrawAssigned({{ $row['element_id'] }})">Website-Freigabe zurücknehmen</button>
|
|
@else
|
|
<button type="button" wire:click="releaseAssigned({{ $row['element_id'] }})">Für die Website freigeben</button>
|
|
@endif
|
|
@endif
|
|
@endif
|
|
</span>
|
|
</li>
|
|
@endforeach
|
|
</ul>
|
|
@else
|
|
<p>Noch kein Präsentationsmedium. Das Vorschaubild der Bibliothek bleibt davon unabhängig.</p>
|
|
@endif
|
|
|
|
@if ($this->canEditEditorial())
|
|
<label>Rolle
|
|
<select wire:model.live="presentationRole">
|
|
@foreach ($this->presentationRoleOptions() as $slug => $label)
|
|
<option value="{{ $slug }}">{{ $label }}</option>
|
|
@endforeach
|
|
</select>
|
|
</label>
|
|
@if (in_array($this->presentationRole, \App\Domain\Catalog\PresentationRole::BOUND_ROLES, true))
|
|
<label>
|
|
<input type="checkbox" wire:model="bindToVersion">
|
|
Zusätzlich an der aktuellen Inhaltsfassung festhalten. Ohne Haken bleibt die Zuordnung am Medium. Eine spätere Fassung erzeugt keinen neuen Clip.
|
|
</label>
|
|
@endif
|
|
<p>Die tatsächliche Verwendung steht getrennt davon und wird nicht als Verwendungszweck gespeichert.</p>
|
|
@endif
|
|
</div>
|