24 lines
722 B
PHP
24 lines
722 B
PHP
@extends('layouts.site')
|
|
|
|
@section('title', 'Berechtigungen')
|
|
|
|
@section('content')
|
|
@include('member.partials.nav')
|
|
<h1>Berechtigungen</h1>
|
|
@if ($grants->isEmpty())
|
|
<div class="empty">
|
|
<p>Ihnen ist noch keine Lizenz zugeordnet.</p>
|
|
</div>
|
|
@else
|
|
<ul class="catalog">
|
|
@foreach ($grants as $grant)
|
|
<li>
|
|
<strong>{{ $grant->article->code }}</strong>
|
|
<span>{{ $grant->rights_snapshot['purpose'] ?? '' }}</span>
|
|
<span>seit {{ $grant->valid_from?->timezone(config('app.timezone'))->format('d.m.Y') }}</span>
|
|
</li>
|
|
@endforeach
|
|
</ul>
|
|
@endif
|
|
@endsection
|