column added

This commit is contained in:
HolgerHatGarKeineNode
2023-02-07 16:36:02 +01:00
parent dd038e3768
commit 0330f99682

View File

@@ -1,8 +1,18 @@
<div class="flex flex-col space-y-1">
<div>
<x-badge class="whitespace-nowrap">{{ __('Confirmations') }}: {{ count($row->attendees ?? []) }}</x-badge>
@if(count($row->attendees ?? []) > 0)
<x-badge green class="whitespace-nowrap">{{ __('Confirmations') }}
: {{ count($row->attendees ?? []) }}</x-badge>
@else
<x-badge class="whitespace-nowrap">{{ __('Confirmations') }}: {{ count($row->attendees ?? []) }}</x-badge>
@endif
</div>
<div>
<x-badge class="whitespace-nowrap">{{ __('Perhaps') }}: {{ count($row->might_attendees ?? []) }}</x-badge>
@if(count($row->might_attendees ?? []) > 0)
<x-badge green class="whitespace-nowrap">{{ __('Perhaps') }}
: {{ count($row->might_attendees ?? []) }}</x-badge>
@else
<x-badge class="whitespace-nowrap">{{ __('Perhaps') }}: {{ count($row->might_attendees ?? []) }}</x-badge>
@endif
</div>
</div>