31 lines
961 B
PHP
31 lines
961 B
PHP
@extends('layouts.site')
|
|
|
|
@section('title', $title)
|
|
|
|
@section('content')
|
|
@include('member.partials.nav')
|
|
<p><a href="{{ route('member.library') }}">Bibliothek</a></p>
|
|
<h1>{{ $title }}</h1>
|
|
@if ($kind)
|
|
<p>{{ $kind }}</p>
|
|
@endif
|
|
@if (filled($summary ?? null))
|
|
<p class="lede">{{ $summary }}</p>
|
|
@endif
|
|
<p>Nutzbarkeit: {{ $coverage }}</p>
|
|
<p>{{ filled($composition->thumbnail_path) ? ($composition->thumbnail_alt ?: 'Vorschaubild') : 'Platzhalter' }}</p>
|
|
@if (filled($composition->thumbnail_error))
|
|
<p>{{ $composition->thumbnail_error }}</p>
|
|
@endif
|
|
@if (filled($learning_goal))
|
|
<p>Lernziel: {{ $learning_goal }}</p>
|
|
@endif
|
|
@if ($duration_minutes)
|
|
<p>Zeit: {{ $duration_minutes }} Minuten</p>
|
|
@endif
|
|
@if (filled($material_note))
|
|
<p>Material: {{ $material_note }}</p>
|
|
@endif
|
|
@include('member.partials.structure', ['nodes' => $nodes])
|
|
@endsection
|