CI Feature / test (push) Successful in 3m32s
Neuer kind 'exercise', Varianten je Fassung, Verwendung (erforderlich/ergänzend) und Variantenauswahl am einbindenden Mitglied; der Stand schreibt nur gewählte Varianten fest. Änderungsnachweis über structure_hash. Formatierte Anleitung im Mitgliederbereich und PDF (Fußzeile, Metadaten, Ausgabenachweis, keine gespeicherten Kopien); Sperre trifft nur das Medium. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
24 lines
632 B
PHP
24 lines
632 B
PHP
@foreach ($blocks as $block)
|
|
@switch ($block['type'])
|
|
@case ('heading')
|
|
<h3>{{ $block['text'] }}</h3>
|
|
@break
|
|
@case ('bullets')
|
|
<ul>
|
|
@foreach ($block['items'] as $item)
|
|
<li>{{ $item }}</li>
|
|
@endforeach
|
|
</ul>
|
|
@break
|
|
@case ('numbered')
|
|
<ol>
|
|
@foreach ($block['items'] as $item)
|
|
<li>{{ $item }}</li>
|
|
@endforeach
|
|
</ol>
|
|
@break
|
|
@default
|
|
<p>{{ $block['text'] }}</p>
|
|
@endswitch
|
|
@endforeach
|