+ {/* TODO: modify field components to support ref props after forwardRef() is depreciated in React 19 */}
+
+
+
+ >
+ )
const event = {
...deviceContents,
@@ -458,10 +482,18 @@ export default function EventsCard({ club }: EventsCardProps): ReactElement {
return (
- Manage events for this {OBJECT_NAME_SINGULAR}. Events that have already
- passed are hidden by default.
+ {club.approved || club.is_ghost
+ ? 'Manage events for this club. Events that have already passed are hidden by default.'
+ : 'Note: you must be an approved club to create publicly-viewable events.'}
(
+
+
+
+ )}
baseUrl={`/clubs/${club.code}/events/`}
listParams={`&end_time__gte=${new Date().toISOString()}`}
fields={eventFields}
@@ -480,7 +512,7 @@ export default function EventsCard({ club }: EventsCardProps): ReactElement {
}}
/>
-
+
diff --git a/frontend/components/ClubEditPage/QuestionsCard.tsx b/frontend/components/ClubEditPage/QuestionsCard.tsx
index fe97deb62..d9eeb1d93 100644
--- a/frontend/components/ClubEditPage/QuestionsCard.tsx
+++ b/frontend/components/ClubEditPage/QuestionsCard.tsx
@@ -20,7 +20,7 @@ export default function QuestionsCard({
You can see a list of questions that prospective {OBJECT_NAME_SINGULAR}{' '}
members have asked below. Answering any of these questions will make
- them publically available and show your name as the person who answered
+ them publicly available and show your name as the person who answered
the question.
void
onSuccessfulSubmit: () => void
}): ReactElement => {
const { large_image_url, image_url, club_name, name, id } = event
@@ -325,7 +327,7 @@ const TicketsModal = ({
{name}
- Create new tickets for this event. For our alpha, only free tickets
+ Create new tickets for this event. For our beta, only free tickets
will be supported for now: stay tuned for payments integration!
@@ -355,6 +357,24 @@ const TicketsModal = ({
New Ticket Class
+ {!event.ticket_drop_time && (
+
+
- It will be posted publically once it has been approved and answered
- by {OBJECT_NAME_SINGULAR} members.
+ It will be posted publicly once it has been approved and answered by{' '}
+ {OBJECT_NAME_SINGULAR} members.