Started working on tour system

This commit is contained in:
TorstenS 2020-10-02 09:56:26 +02:00
parent 5dc304f29e
commit 00de35ba03
7 changed files with 68 additions and 11 deletions

View file

@ -9,11 +9,12 @@
<div class="container text-primary">
.<ul class="list-group offset-2 col-8">
@foreach($tours as $tour)
<li class="list-group-item d-flex justify-content-between align-items-center">
{{ $tour->start }} - {{ $tour->name }} [?/?]
<span class="badge {{ $tour->status=="FINDET STATT" ? "badge-success" : "badge-danger" }} badge-pill">{{ $tour->status }}</span>
</li>
<a href="/tour/{{$tour->id}}">
<li class="list-group-item d-flex justify-content-between align-items-center">
{{ $tour->start }} - {{ $tour->name }} [?/?]
<span class="badge {{ $tour->status=="FINDET STATT" ? "badge-success" : "badge-danger" }} badge-pill">{{ $tour->status }}</span>
</li>
</a>
@endforeach
<!--