From 0330f996820547de7372d05769774e4d688a5ca3 Mon Sep 17 00:00:00 2001 From: HolgerHatGarKeineNode Date: Tue, 7 Feb 2023 16:36:02 +0100 Subject: [PATCH] column added --- .../columns/meetup_events/confirmations.blade.php | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) diff --git a/resources/views/columns/meetup_events/confirmations.blade.php b/resources/views/columns/meetup_events/confirmations.blade.php index d4fff1bd..0234b0a2 100644 --- a/resources/views/columns/meetup_events/confirmations.blade.php +++ b/resources/views/columns/meetup_events/confirmations.blade.php @@ -1,8 +1,18 @@
- {{ __('Confirmations') }}: {{ count($row->attendees ?? []) }} + @if(count($row->attendees ?? []) > 0) + {{ __('Confirmations') }} + : {{ count($row->attendees ?? []) }} + @else + {{ __('Confirmations') }}: {{ count($row->attendees ?? []) }} + @endif
- {{ __('Perhaps') }}: {{ count($row->might_attendees ?? []) }} + @if(count($row->might_attendees ?? []) > 0) + {{ __('Perhaps') }} + : {{ count($row->might_attendees ?? []) }} + @else + {{ __('Perhaps') }}: {{ count($row->might_attendees ?? []) }} + @endif