From c2cb9cf33a3bf7b2dd9411e73689ba9bb1d7bf24 Mon Sep 17 00:00:00 2001 From: isaacclad Date: Sat, 4 Jul 2026 02:48:22 +0000 Subject: [PATCH] Move start/restart actions into join link cards for webinars and conferences. Remove the duplicate webinar header button and make the primary purple action first in the join card, with a mobile rotate icon when restarting. Co-authored-by: Cursor --- .../views/meet/conferences/show.blade.php | 17 +++++- resources/views/meet/webinars/show.blade.php | 52 +++++++------------ 2 files changed, 34 insertions(+), 35 deletions(-) diff --git a/resources/views/meet/conferences/show.blade.php b/resources/views/meet/conferences/show.blade.php index 22fcfea..3d55f92 100644 --- a/resources/views/meet/conferences/show.blade.php +++ b/resources/views/meet/conferences/show.blade.php @@ -1,4 +1,7 @@ + @php + $conferenceRestarting = $room->status === 'ended' || $room->sessions->isNotEmpty(); + @endphp

Conference

@@ -32,7 +35,19 @@ @elseif ($room->canRestart())
@csrf - +
@endif Download iCal diff --git a/resources/views/meet/webinars/show.blade.php b/resources/views/meet/webinars/show.blade.php index f0dd101..e503bc5 100644 --- a/resources/views/meet/webinars/show.blade.php +++ b/resources/views/meet/webinars/show.blade.php @@ -3,30 +3,10 @@ $webinarRestarting = $room->status === 'ended' || $room->sessions->isNotEmpty(); @endphp
-
-
-

Webinar

-

{{ $room->title }}

-

{{ config('meet.room_statuses')[$room->status] ?? $room->status }}

-
- @if ($room->canRestart()) -
- @csrf - -
- @endif +
+

Webinar

+

{{ $room->title }}

+

{{ config('meet.room_statuses')[$room->status] ?? $room->status }}

@if (session('success')) @@ -49,24 +29,28 @@
- Download iCal - @if ($room->sessions->isNotEmpty()) - Attendance CSV - @endif - @if ($room->canRestart() && ($room->status === 'ended' || $room->sessions->isNotEmpty())) + @if ($room->canRestart())
@csrf
@endif + Download iCal + @if ($room->sessions->isNotEmpty()) + Attendance CSV + @endif
@if ($room->passcode)