Categories, Netto Homeparty

This commit is contained in:
Kevin Adametz 2021-06-18 15:02:34 +02:00
parent 7d1ee844eb
commit 351a8f763c
13 changed files with 144 additions and 64 deletions

View file

@ -15,7 +15,10 @@
@foreach($homeparty->homeparty_users as $homeparty_user)
<div class="card mb-3">
<div class="card-body d-flex justify-content-between align-items-start pb-2">
@if(!$homeparty->completed)
<div>
<a href="{{route('user_homeparty_guest_detail', [$homeparty->id, $homeparty_user->id])}}" class="text-body text-big font-weight-semibold">
@if($homeparty_user->is_host)
<span class="text-muted">Gastgeber/in: </span>
@ -26,10 +29,7 @@
</a>
{{-- <span class="badge badge-success align-text-bottom ml-1">offen ...</span> --}}
</div>
@if(!$homeparty->completed)
<div>
<a href="{{route('user_homeparty_guest_detail', [$homeparty->id, $homeparty_user->id])}}" class="btn btn-sm btn-secondary mr-2"><i class="fa fa-edit"></i> bearbeiten</a>
<div class="btn-group project-actions">
@if($homeparty_user->is_host)
@ -43,6 +43,19 @@
@endif
</div>
</div>
@else
<div>
<div class="text-body text-big font-weight-semibold">
@if($homeparty_user->is_host)
<span class="text-muted">Gastgeber/in: </span>
@else
<span class="text-muted">Gast {{$g_count++}}: </span>
@endif
{{$homeparty_user->billing_firstname}} {{$homeparty_user->billing_lastname}}
</div>
{{-- <span class="badge badge-success align-text-bottom ml-1">offen ...</span> --}}
</div>
@endif
</div>
<div class="progress rounded-0" style="height: 2px;">