Eine Navigation (Meine Bibliothek, Programme, Meine Lizenzen, Konto-Menü) mit der freigegebenen Wortmarke, Startseite ohne erfundene Inhalte, Bibliothek mit Inhaltsart-Filter und einer Karte je Medienidentität („Verwendet in“), Programm-/Moduldetail, Film und Material im Zusammenhang mit Begleitmaterial und Weg zurück, Lizenzübersicht mit Detailseite je Berechtigung. Alle Größen aus der Größenskala (ADR-44, neues Token --card-min). Tests bewusst angepasst: Der Film spielt auf der Kontextseite statt eingebettet im Programm, Download-Links tragen ein Symbol, der Platzhalter ist ein dekoratives Element, die Wortmarke ist das freigegebene Logo. Die Vorschau der Bibliothekskarte in der Verwaltung nutzt dieselbe Komponente. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
67 lines
3.5 KiB
PHP
67 lines
3.5 KiB
PHP
@extends('layouts.member')
|
|
|
|
@section('title', $title)
|
|
@section('nav', 'bibliothek')
|
|
|
|
{{-- Einzelner Lizenzartikel (Medium oder Material ohne Programmkontext). Aktionen nur mit eigener Entscheidung je Aktion. --}}
|
|
@section('content')
|
|
<p class="mb-crumb"><a href="{{ route('member.library') }}"><x-heroicon-o-arrow-left aria-hidden="true" /> Zur Bibliothek</a></p>
|
|
<header class="mb-content-head">
|
|
@if ($kind)
|
|
<x-member.type :type="'material'" :label="$kind" />
|
|
@endif
|
|
<h1 class="mb-title">{{ $title }}</h1>
|
|
@if ($release?->classification_note)
|
|
<p class="mb-lede">{{ $release->classification_note }}</p>
|
|
@endif
|
|
</header>
|
|
@if ($entries === [])
|
|
<div class="empty mb-empty">
|
|
<h2>Kein veröffentlichter Stand</h2>
|
|
<p>Für diesen Eintrag liegt noch kein veröffentlichter Stand vor.</p>
|
|
</div>
|
|
@else
|
|
<ol class="mb-outline">
|
|
@foreach ($entries as $entry)
|
|
<li class="mb-outline-item">
|
|
<div class="mb-outline-main">
|
|
<h2 class="mb-outline-title">{{ $entry['role'] }}: {{ $entry['version']->element->working_title }}</h2>
|
|
@if (filled($entry['version']->element->description))
|
|
<p class="mb-outline-text">{{ $entry['version']->element->description }}</p>
|
|
@endif
|
|
</div>
|
|
@if ($entry['playable'])
|
|
<div class="mb-player player">
|
|
@include('content.video', [
|
|
'playback' => ['mode' => $entry['playback'] ?? 'file', 'url' => $entry['url']],
|
|
'poster' => \App\Domain\Media\ThumbnailRef::url('member.thumbnail', 'element', $entry['version']->element->id, $entry['version']->element->thumbnail_path),
|
|
])
|
|
</div>
|
|
<div class="mb-actions">
|
|
<button class="button button-secondary" type="button" data-fullscreen><x-heroicon-o-arrow-top-right-on-square aria-hidden="true" /> Vollbild</button>
|
|
@if ($entry['download_url'])
|
|
<a class="button button-secondary" href="{{ $entry['download_url'] }}"><x-heroicon-o-arrow-down-tray aria-hidden="true" /> Herunterladen</a>
|
|
@endif
|
|
</div>
|
|
@elseif ($entry['allowed'] && $entry['url'])
|
|
<div class="mb-actions">
|
|
<a class="button" href="{{ $entry['url'] }}"><x-heroicon-o-eye aria-hidden="true" /> Ansehen</a>
|
|
@if ($entry['download_url'])
|
|
<a class="button button-secondary" href="{{ $entry['download_url'] }}"><x-heroicon-o-arrow-down-tray aria-hidden="true" /> Herunterladen</a>
|
|
@endif
|
|
</div>
|
|
@else
|
|
<p class="mb-outline-locked">Nicht enthalten. Für diesen Teil liegt keine Freigabe vor.</p>
|
|
@endif
|
|
@if (filled($entry['version']->body))
|
|
<article class="mb-prose">
|
|
{!! nl2br(e($entry['version']->body)) !!}
|
|
</article>
|
|
@endif
|
|
</li>
|
|
@endforeach
|
|
</ol>
|
|
@endif
|
|
<p class="mb-muted">Artikel {{ $article->code }}</p>
|
|
@endsection
|