Working on Tour Booking

This commit is contained in:
TorstenS 2020-10-07 22:18:54 +02:00
parent e9f629db90
commit 30cdeab510
5 changed files with 64 additions and 25 deletions

View file

@ -6,12 +6,20 @@
<a href="/pdf/tourenplan.pdf" class="text-center text-light">Download</a>
<div class="container text-primary">
<div class="container text-primary" style="display:flex">
.<ul class="list-group offset-2 col-8">
@foreach($tours as $tour)
<a href="/tour/{{$tour->id}}">
<li class="list-group-item d-flex justify-content-between align-items-center">
{{ $tour->start }} - {{ $tour->name }} [?/?]
@if(App\Tour::has_participant($tour->id, Auth::user()->id)==true)
<i class="fas fa-biking"></i>
@endif
<span class="badge {{ $tour->status=="FINDET STATT" ? "badge-success" : "badge-danger" }} badge-pill">{{ $tour->status }}</span>
</li>
</a>