Files
bandtoolv2/resources/views/bewerbung/index.blade.php
T

26 lines
946 B
PHP
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
@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