@php // Helper function if (!function_exists('getEventTypeColor')) { function getEventTypeColor($type) { $colors = [ 'announcements' => 'success', 'webinars' => 'info', 'workshops' => 'warning', 'other' => 'secondary', ]; return $colors[$type] ?? 'secondary'; } } // Response colors mapping $responseColors = [ 'accepted' => 'success', 'rejected' => 'danger', 'maybe' => 'warning', ]; // Priority icons mapping $priorityIcons = [ 'high' => 'fa-flag text-danger', 'medium' => 'fa-flag text-warning', 'low' => 'fa-flag text-info', ]; // Audience type mapping with translation $audienceTypes = [ 'staff_training' => __('labels.staff_training'), 'customer_event' => __('labels.customer_event'), 'both' => __('labels.both'), ]; // Audience colors and icons $audienceColors = [ 'staff_training' => 'primary', 'customer_event' => 'info', 'both' => 'success', ]; $audienceIcons = [ 'staff_training' => 'fa-users-cog', 'customer_event' => 'fa-handshake', 'both' => 'fa-users', ]; @endphp
{{ Str::limit(strip_tags($event['description']), 60) }}
@endif{{ __('labels.all_caught_up') }}
@can('create', \App\Models\Event::class) {{ __('labels.schedule_event') }} @endcan