Zeige freigegebene Programme als Aufbau in der Bibliothek
Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
1 parent
fc08e6d0f2
commit
7b54c38623
7 files changed
+307
-22
No files matched your search
@@ -0,0 +1,27 @@
|
||||
<ol class="course">
|
||||
@foreach ($nodes as $node)
|
||||
<li>
|
||||
<h2>{{ $node['role'] }}: {{ $node['title'] }}</h2>
|
||||
@if ($node['kind'])
|
||||
<p>{{ $node['kind'] }}</p>
|
||||
@endif
|
||||
@if ($node['output_class'] === 'film' || $node['output_class'] === 'audio')
|
||||
@if ($node['view_url'])
|
||||
<video controls preload="metadata" playsinline src="{{ $node['view_url'] }}"></video>
|
||||
@else
|
||||
<p>Für diesen Film liegt keine Freigabe vor.</p>
|
||||
@endif
|
||||
@elseif ($node['view_url'])
|
||||
<p><a href="{{ $node['view_url'] }}">Ansehen</a></p>
|
||||
@elseif ($node['children'] === [])
|
||||
<p>Für diesen Teil liegt keine Freigabe vor.</p>
|
||||
@endif
|
||||
@if ($node['download_url'])
|
||||
<p><a href="{{ $node['download_url'] }}">Laden</a></p>
|
||||
@endif
|
||||
@if ($node['children'] !== [])
|
||||
@include('member.partials.structure', ['nodes' => $node['children']])
|
||||
@endif
|
||||
</li>
|
||||
@endforeach
|
||||
</ol>
|
||||
Reference in new issue
Block a user