Öffne Katalog, Bibliothek und Testkauf für den MVP.
Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
1 parent
463851d402
commit
fd6860efda
51 files changed
+2331
-31
No files matched your search
@@ -0,0 +1,29 @@
|
||||
@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
|
||||
Reference in new issue
Block a user