Personalize speaker portal greeting with session topic.
Deploy Ladill Events / deploy (push) Successful in 26s
Deploy Ladill Events / deploy (push) Successful in 26s
Replace the roster role line with "you are speaking on …" using the speaker's programme assignment or virtual session title. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -17,7 +17,12 @@
|
||||
<div class="text-center">
|
||||
<p class="text-xs font-semibold uppercase tracking-wide text-indigo-600">Speaker access</p>
|
||||
<h1 class="mt-1 text-2xl font-bold text-slate-900">{{ $eventName }}</h1>
|
||||
<p class="mt-1 text-sm text-slate-600">Hi {{ $speaker['name'] }}@if(!empty($speaker['role'])) · {{ $speaker['role'] }}@endif</p>
|
||||
@php
|
||||
$sessionTopic = trim((string) ($assignments[0]['session'] ?? ($virtualSessions[0]['title'] ?? '')));
|
||||
@endphp
|
||||
<p class="mt-1 text-sm text-slate-600">
|
||||
Hi {{ $speaker['name'] }}@if($sessionTopic !== ''), you are speaking on {{ $sessionTopic }}@endif
|
||||
</p>
|
||||
</div>
|
||||
|
||||
@if(!empty($eventContent['starts_at']) || !empty($eventContent['location']))
|
||||
|
||||
Reference in New Issue
Block a user