Files
laraundfelix/resources/views/member/article.blade.php
T
LarsandCursor fd6860efda
Deploy Test / test (push) Successful in 12s
Deploy Test / deploy (push) Successful in 21s
Öffne Katalog, Bibliothek und Testkauf für den MVP.
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-11-15 09:04:08 +01:00

30 lines
1.2 KiB
PHP

@extends('layouts.site')
@section('title', $article->code)
@section('content')
@include('member.partials.nav')
<h1>{{ $article->code }}</h1>
@if ($release === null)
<div class="empty"><p>Für diesen Artikel ist noch kein Stand veröffentlicht.</p></div>
@else
<p>Stand {{ $release->number }}@if ($release->change_note) · {{ $release->change_note }}@endif</p>
<ul class="catalog">
@foreach ($entries as $entry)
<li>
<strong>{{ $entry['content']->path }}</strong>
@if ($entry['allowed'] && $entry['url'])
@if ($entry['action'] === 'streamen' && filled($entry['version']->metadata['file'] ?? null))
<video controls preload="metadata" src="{{ $entry['url'] }}">Der Film kann hier abgespielt werden.</video>
@else
<a href="{{ $entry['url'] }}">Öffnen</a>
@endif
@else
<span>{{ $entry['reason'] }}</span>
@endif
</li>
@endforeach
</ul>
@endif
@endsection