Ein Baustein (FormattedText) bereinigt, bringt Werte in die kanonische Form und wandelt Klartext des Altbestands; RichField ist der eine Editor, ManagesRichFields verbindet ihn mit den Arbeitsplätzen. Formatiert sind Texte der Übungen und Textbausteine, Kurzbeschreibung und Beschreibung, Lernziel und Ausstattung. Mitgliederansicht und PDF zeigen fett, kursiv, Listen, Überschrift, Zitat und Link (PDF: schräge Schnitte, nur wenn gebraucht). Das Livewire-Limit für verschachtelte Pfade steigt auf 30, weil Aufzählungen sonst abgelehnt werden. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
30 lines
1.2 KiB
PHP
30 lines
1.2 KiB
PHP
@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))
|
|
<div class="lede">{!! \App\Domain\Catalog\FormattedText::display($composition->summary) !!}</div>
|
|
@endif
|
|
@if (filled($version->learning_goal))
|
|
<div><strong>Lernziel:</strong> {!! \App\Domain\Catalog\FormattedText::display($version->learning_goal) !!}</div>
|
|
@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>
|
|
@include('shop.optionen', ['options' => $options, 'cart' => $cart, 'switchTo' => $switchTo])
|
|
@endsection
|