Files
laraundfelix/resources/views/public/article.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.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