Zeige Nutzbarkeit, Didaktik und oeffentliche Programmfassung
Deploy Test / test (push) Successful in 17s
Deploy Test / deploy (push) Successful in 22s

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
LarsandCursor committed 2026-11-16 08:33:19 +01:00
1 parent 5e763d15ec
commit c99a957e6f
17 files changed
+307 -6

No files matched your search

+4
View File
@@ -26,6 +26,10 @@
@foreach ($programs as $program)
<li>
<a href="{{ route('member.program', $program['composition']) }}"><strong>{{ $program['kind'] ? $program['kind'].': ' : '' }}{{ $program['title'] }}</strong></a>
<span>{{ filled($program['composition']->thumbnail_path) ? ($program['composition']->thumbnail_alt ?: 'Vorschaubild') : 'Platzhalter' }}</span>
@if (filled($program['composition']->thumbnail_error))
<span>{{ $program['composition']->thumbnail_error }}</span>
@endif
</li>
@endforeach
</ul>
@@ -1,7 +1,7 @@
<ol class="course">
@foreach ($nodes as $node)
<li>
<h2>{{ $node['role'] }}: {{ $node['title'] }}</h2>
<h2>{{ $node['role'] }}: @if ($node['program_url'] ?? null)<a href="{{ $node['program_url'] }}">{{ $node['title'] }}</a>@else{{ $node['title'] }}@endif</h2>
@if ($node['kind'])
<p>{{ $node['kind'] }}</p>
@endif
+14
View File
@@ -12,5 +12,19 @@
@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
+3
View File
@@ -5,6 +5,9 @@
@section('content')
@include('member.partials.nav')
<h1>{{ $version->element->working_title }}</h1>
@if (filled($license ?? null))
<p>Lizenzkennzeichnung: {{ $license }}</p>
@endif
<article class="prose">
{!! nl2br(e($version->body)) !!}
</article>