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

+28
View File
@@ -0,0 +1,28 @@
@extends('layouts.site')
@section('title', $composition->display_title ?: $composition->designation)
@section('content')
<p><a href="{{ route('public.programs') }}">Programme</a></p>
<h1>{{ $composition->display_title ?: $composition->designation }}</h1>
@if (filled($composition->summary))
<p class="lede">{{ $composition->summary }}</p>
@endif
@if (filled($version->learning_goal))
<p>Lernziel: {{ $version->learning_goal }}</p>
@endif
<ol class="course">
@foreach ($nodes as $node)
<li>
<h2>{{ $node->role }}: {{ $node->title }}</h2>
@if ($node->children !== [])
<ol>
@foreach ($node->children as $child)
<li>{{ $child->role }}: {{ $child->title }}</li>
@endforeach
</ol>
@endif
</li>
@endforeach
</ol>
@endsection
+17
View File
@@ -0,0 +1,17 @@
@extends('layouts.site')
@section('title', 'Programme')
@section('content')
<h1>Programme</h1>
<p class="lede">Gezeigt wird nur eine zur Anzeige freigegebene Programmfassung. Dateien bleiben im Mitgliederbereich.</p>
@if ($programs->isEmpty())
<div class="empty"><p>Noch kein Programm ist öffentlich gelistet.</p></div>
@else
<ul class="catalog">
@foreach ($programs as $program)
<li><a href="{{ route('public.program', $program) }}"><strong>{{ $program->display_title ?: $program->designation }}</strong></a></li>
@endforeach
</ul>
@endif
@endsection