Zeige Nutzbarkeit, Didaktik und oeffentliche Programmfassung
Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
1 parent
5e763d15ec
commit
c99a957e6f
17 files changed
+307
-6
No files matched your search
@@ -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
|
||||
|
||||
@@ -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
|
||||
@@ -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>
|
||||
|
||||
@@ -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
|
||||
@@ -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
|
||||
Reference in new issue
Block a user