@php use App\Support\EventsSourceLink; $eventsUrls = EventsSourceLink::urls($room); $isLinked = EventsSourceLink::isLinked($room); $eventTitle = EventsSourceLink::eventTitle($room); $eventsConfigured = EventsSourceLink::isApiConfigured(); $createEventUrl = EventsSourceLink::createEventUrl($room); $kind = $room->isConference() ? 'conference' : 'webinar'; @endphp

Ladill Events

@if ($isLinked && $eventTitle)

Linked to {{ $eventTitle }}

@elseif ($isLinked)

Linked to event #{{ EventsSourceLink::eventId($room) }}

@else

Registration, invitations, speakers, and QR codes for this {{ $kind }} are managed in Ladill Events. Link a virtual or hybrid event to enable attendee registration.

@endif
@if ($isLinked)
@csrf @method('DELETE')
@endif
@if (! $isLinked && ! $eventsConfigured)

Events linking is not configured on this Meet instance.

Set MEET_API_KEY_EVENTS in Meet and the matching EVENTS_API_KEY_MEET in Events so Meet can list and link your events. You can still create an event in Events using the button below.

@endif @if ($isLinked)
@if ($eventsUrls['registration'])

Registration page

@endif @if ($eventsUrls['admin']) Attendees & check-in → @endif @if ($eventsUrls['edit']) Event settings (tickets, branding) → @endif @if ($eventsUrls['comms']) Bulk invitations & comms → @endif @if ($eventsUrls['qr']) Event QR code → @endif @if ($eventsUrls['badges']) Badges & printing → @endif

Programme speakers and panelists are configured on the event programme in Events and sync to this session when linked.

@else
@if ($eventsConfigured) Link to Ladill Events @else Link to Ladill Events @endif Create event in Events
@endif