+ {editMode ? (
+
+ ) : (
+ <>
+
{meeting.title}
+ {scheduledTime && (
+
+ Scheduled: {dayjs(scheduledTime).format('YYYY-MM-DD HH:mm')}
+ {meeting.duration_minutes && ({meeting.duration_minutes} min)}
+
+ )}
+ {!scheduledTime &&
No scheduled time set.
}
+ {meeting.description && (
+
{meeting.description}
+ )}
+ {!meeting.description &&
No description provided.
}
+ >
+ )}
+
+ {/* Participants */}
+
+
Participants ({meeting.participants.length})
+ {meeting.participants.length > 0 ? (
+
+ {meeting.participants.map((p) => (
+
+ {p}
+ {user && p === user.username && ' (you)'}
+
+ ))}
+
+ ) : (
+
No participants yet
+ )}
+ {canAttend && (
+
+ )}
+
+
+ {/* Status transitions */}
+
+
Status
+
+ {availableTransitions.map((s) => (
+
+ ))}
+
+
+
+ {/* Actions */}
+
+
Actions
+
+ {!editMode && (
+
+ )}
+
+
+
+
+ {/* Info */}
+
+
Info
+
+
Created: {new Date(meeting.created_at).toLocaleString()}
+ {meeting.updated_at &&
Updated: {new Date(meeting.updated_at).toLocaleString()}
}
+
+
+