Files
laraundfelix/resources/views/public/program.blade.php
T
LarsandClaude Sonnet 5.5 67764c3e4f
CI Feature / test (push) Successful in 4m41s
Deploy Test / test (push) Successful in 4m42s
Deploy Test / deploy (push) Successful in 26s
Zeige Aufzählungszeichen und Nummern in Bild und Text sowie auf Shop- und Programmseiten
Der Grundstil setzt list-style zurück; die Container für formatierten Text
setzen disc und decimal nun ausdrücklich.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-30 18:13:55 +01:00

40 lines
1.7 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 class="rich-lists"><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>
@if (($articles ?? []) !== [])
<section class="shop-options" aria-labelledby="programm-kaufen">
<h2 id="programm-kaufen">Zum Kaufen</h2>
<ul>
@foreach ($articles as $article)
<li><a href="{{ route('shop.article', $article) }}">{{ app(\App\Domain\Commerce\ProductOptions::class)->articleTitle($article) }}: Lizenzoptionen ansehen</a></li>
@endforeach
</ul>
</section>
@endif
@include('shop.optionen', ['options' => $options, 'cart' => $cart, 'switchTo' => $switchTo])
@endsection