@if (count(\App\UserEvent::query()->where('event_id', '=', $userevent->id)->where('multiple_event_id', '=', null)->where('user_id', '=', Auth::user()->id)->get()) > 0 || count(\App\UserEvent::query()->where('multiple_event_id', '=', $userevent->id)->where('event_id', '=', null)->where('user_id', '=', Auth::user()->id)->get()) > 0)
{{__('msg.afmeld')}}
@else {{-- ^ If you're already participating in the event, then show a ´cancel´ button - v Else show a ´participate´ button --}}
{{__('msg.tilmeld')}}
@endif
$userevent->id ])}}">{{__('msg.læsmere')}}
$userevent->id ])}}" @elseif($key == "multiple") href="{{route("multiple-events.accountsignups", ["multiEvent" => $userevent->id])}}" @endif>{{__('msg.sedeltagere')}}