Files
laraundfelix/resources/views/member/library.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

24 lines
861 B
PHP

@extends('layouts.site')
@section('title', 'Bibliothek')
@section('content')
@include('member.partials.nav')
<h1>Bibliothek</h1>
@if ($grants->isEmpty())
<div class="empty">
<p>Ihnen ist noch kein Material zugeordnet. Sobald eine Berechtigung vorliegt, erscheinen die freigegebenen Inhalte hier. Eine Rolle allein öffnet nichts.</p>
<p><a href="{{ route('member.offers') }}">Angebote ansehen</a></p>
</div>
@else
<ul class="catalog">
@foreach ($grants as $grant)
<li>
<a href="{{ route('member.article', $grant->article) }}">{{ $grant->article->code }}</a>
<span>{{ $grant->article->currentRelease?->change_note ?: 'Aktueller Stand' }}</span>
</li>
@endforeach
</ul>
@endif
@endsection