diff --git a/app/(admin)/admin/booking/[id]/page.tsx b/app/(admin)/admin/booking/[id]/page.tsx index cc4e38d..54e6a83 100644 --- a/app/(admin)/admin/booking/[id]/page.tsx +++ b/app/(admin)/admin/booking/[id]/page.tsx @@ -621,10 +621,35 @@ export default function AppointmentDetailPage() {

- {appointment.can_join_as_moderator ? "Meeting is active - You can join as moderator" : "Meeting is not available yet"} + {appointment.can_join_as_moderator ? "Meeting is active - You can join as moderator" : "Meeting would be available shortly"}

)} + {appointment.scheduled_datetime && ( +
+

+ Meeting Information +

+
+
+

+ Meeting Start Time: +

+

+ {formatDate(appointment.scheduled_datetime)} at {formatTime(appointment.scheduled_datetime)} +

+
+
+

+ How to Access: +

+

+ Click the "Start Meeting" button below to begin the session. Once started, participants can join using the meeting link. You can also use the moderator link above to join directly. +

+
+
+
+ )}
)} @@ -701,7 +726,7 @@ export default function AppointmentDetailPage() { const startedAt = appointment.started_at || appointment.meeting_started_at; const hasStarted = startedAt != null && startedAt !== ""; - // If can_join_as_moderator != true, display "Meeting Not Available" + // If can_join_as_moderator != true, display "Meeting would be available shortly" if (!canJoinAsModerator) { return ( ); } diff --git a/app/(user)/user/appointments/[id]/page.tsx b/app/(user)/user/appointments/[id]/page.tsx index 49c90d0..2b57326 100644 --- a/app/(user)/user/appointments/[id]/page.tsx +++ b/app/(user)/user/appointments/[id]/page.tsx @@ -528,10 +528,35 @@ export default function UserAppointmentDetailPage() {

- {appointment.can_join_as_participant ? "Meeting is active - You can join now" : "Meeting is not available yet"} + {appointment.can_join_as_participant ? "Meeting is active - You can join now" : "Meeting would be available shortly"}

)} + {appointment.scheduled_datetime && ( +
+

+ Meeting Information +

+
+
+

+ Meeting Start Time: +

+

+ {formatDate(appointment.scheduled_datetime)} at {formatTime(appointment.scheduled_datetime)} +

+
+
+

+ How to Access: +

+

+ Click the "Join Now" button below or use the meeting link above when the meeting becomes available. The meeting will be accessible shortly before the scheduled start time. +

+
+
+
+ )}
)} @@ -585,7 +610,7 @@ export default function UserAppointmentDetailPage() { const startedAt = appointment.started_at || appointment.meeting_started_at; const hasStarted = startedAt != null && startedAt !== ""; - // If can_join_as_participant != true, display "Meeting Not Available" + // If can_join_as_participant != true, display "Meeting would be available shortly" if (!canJoinAsParticipant) { return ( ); } @@ -613,14 +638,14 @@ export default function UserAppointmentDetailPage() { ); } - // If can_join_as_participant == true && started_at == null, show "Meeting Not Available" + // If can_join_as_participant == true && started_at == null, show "Meeting would be available shortly" return ( ); })()}