Public Access
26 lines
946 B
PHP
26 lines
946 B
PHP
@extends('template')
|
||
@section('title', 'Bewerbungen')
|
||
|
||
@section('content')
|
||
<h1 class="h3 mb-3">Aktive Bewerbungen</h1>
|
||
|
||
@if($bewerbungen->isEmpty())
|
||
<div class="alert alert-info">Derzeit sind keine aktiven Bewerbungen sichtbar.</div>
|
||
@else
|
||
<div class="list-group">
|
||
@foreach($bewerbungen as $b)
|
||
<a class="list-group-item list-group-item-action" href="{{ route('bewerbung.show', $b) }}">
|
||
<strong>{{ $b->name }}</strong>
|
||
@if($b->start_at || $b->end_at)
|
||
<small class="text-muted d-block">
|
||
@if($b->start_at) Start: {{ $b->start_at->format('d.m.Y') }} @endif
|
||
@if($b->end_at) – Ende: {{ $b->end_at->format('d.m.Y') }} @endif
|
||
</small>
|
||
@endif
|
||
<small class="d-block">{{ Str::limit($b->text, 160) }}</small>
|
||
</a>
|
||
@endforeach
|
||
</div>
|
||
@endif
|
||
@endsection
|