@extends('layouts.member') @section('title', $title) @section('nav', $is_module ? 'bibliothek' : 'programme') {{-- Programm- und Moduldetail (Kit 14, Entwurf 02). Kopf mit Bild und Kennzahlen, danach Überblick, Aufbau und Einsatz. Abschnitte erscheinen nur, wenn die Fassung die Angabe enthält. Es gibt keinen Kursplayer und keinen „Programm starten“-Knopf: Der Trainer wird nicht in eine feste Reihenfolge gezwungen (Fachkonzept §9). --}} @section('content') @php $hasOverview = filled($description) || filled($learning_goal); $hasUse = filled($material_note); $facts = []; if ($module_count > 0) { $facts[] = ['icon' => 'rectangle-stack', 'text' => $module_count.' '.($module_count === 1 ? 'Modul' : 'Module')]; } if ($film_count > 0) { $facts[] = ['icon' => 'play-circle', 'text' => $film_count.' '.($film_count === 1 ? 'Film' : 'Filme')]; } if ($material_count > 0) { $facts[] = ['icon' => 'document-text', 'text' => $material_count.' '.($material_count === 1 ? 'Material' : 'Materialien')]; } if ($duration_minutes) { $facts[] = ['icon' => 'clock', 'text' => 'ca. '.$duration_minutes.' Min. gesamt']; } @endphp

@if ($picture) {{ $picture['alt'] ?: '' }} @else @endif

{{ $title }}

@if (filled($summary))

{{ $summary }}

@endif
    @foreach ($facts as $fact)
  • @endforeach
@if ($coverage === 'teilweise')

Deine Berechtigungen decken {{ $open_count }} von {{ $leaf_count }} Teilen ab. Nicht enthaltene Teile bleiben gesperrt und sind unten gekennzeichnet.

@elseif ($coverage === 'nicht enthalten')

Für dieses {{ $is_module ? 'Modul' : 'Programm' }} liegt keine Berechtigung vor. Du siehst den Aufbau, aber keine Inhalte.

@endif @if (filled($composition->thumbnail_error))

{{ $composition->thumbnail_error }}

@endif
@if ($hasOverview || $hasUse) @endif @if ($hasOverview)
@if (filled($description))

Darum geht es

{!! nl2br(e($description)) !!}
@endif @if (filled($learning_goal)) @endif
@endif

{{ $is_module ? 'Inhalte' : 'Aufbau' }}

@if ($nodes === [])

Noch keine Inhalte

In der angezeigten Fassung sind keine Inhalte enthalten.

@else @include('member.partials.structure', ['nodes' => $nodes]) @endif
@if ($hasUse)

Einsatz & Vorbereitung

Material

{!! nl2br(e($material_note)) !!}
@endif @endsection