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>
40 lines
1.5 KiB
PHP
40 lines
1.5 KiB
PHP
@extends('layouts.site')
|
|
|
|
@section('title', $title)
|
|
|
|
@section('content')
|
|
<p><a href="{{ route('shop') }}">Shop</a></p>
|
|
<h1>{{ $title }}</h1>
|
|
@if ($profile->html('summary') !== '')
|
|
<div class="lede">{!! $profile->html('summary') !!}</div>
|
|
@elseif (filled($profile->value('teaser')))
|
|
<p class="lede">{{ $profile->value('teaser') }}</p>
|
|
@endif
|
|
@if ($profile->html('description') !== '')
|
|
<div class="shop-description">{!! $profile->html('description') !!}</div>
|
|
@endif
|
|
@if ($goal !== null)
|
|
<div class="rich-lists"><strong>Lernziel:</strong> {!! \App\Domain\Catalog\FormattedText::display($goal) !!}</div>
|
|
@endif
|
|
@if ($nodes !== [])
|
|
<section class="shop-package-contents" aria-labelledby="artikel-aufbau">
|
|
<h2 id="artikel-aufbau">Das ist enthalten</h2>
|
|
<ol class="course">
|
|
@foreach ($nodes as $node)
|
|
<li>
|
|
<h3>{{ $node->role }}: {{ $node->title }}</h3>
|
|
@if ($node->children !== [])
|
|
<ol>
|
|
@foreach ($node->children as $child)
|
|
<li>{{ $child->role }}: {{ $child->title }}</li>
|
|
@endforeach
|
|
</ol>
|
|
@endif
|
|
</li>
|
|
@endforeach
|
|
</ol>
|
|
</section>
|
|
@endif
|
|
@include('shop.optionen', ['options' => $options, 'cart' => $cart, 'switchTo' => $switchTo])
|
|
@endsection
|