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)