Scheduling infrastructure for absolutely everyone.
fix: added icon and description in team event type empty page (#24951)
spandevc741d8133ede
diff --git a/apps/web/modules/event-types/views/event-types-listing-view.tsx b/apps/web/modules/event-types/views/event-types-listing-view.tsxindex 1897dc6b5a0..4beb30e0d6f 100644--- a/apps/web/modules/event-types/views/event-types-listing-view.tsx+++ b/apps/web/modules/event-types/views/event-types-listing-view.tsx@@ -877,12 +877,15 @@ const EmptyEventTypeList = ({return (<><EmptyScreen+ Icon="link"headline={searchTerm ? t("no_result_found_for", { searchTerm }) : t("team_no_event_types")}+ description={t("new_team_event_type_description")}+ className="mb-16"buttonRaw={<Buttonhref={`?dialog=new&eventPage=${group.profile.slug}&teamId=${group.teamId}`}variant="button"- className="mt-5">+ >{t("create")}</Button>}@@ -1003,7 +1006,7 @@ const EventTypesPage = ({ userEventGroupsData, user }: Props) => {if (redirectUrl) {router.push(redirectUrl);}- }, []);+ }, [router]);useEffect(() => {setShowProfileBanner(diff --git a/apps/web/public/static/locales/en/common.json b/apps/web/public/static/locales/en/common.jsonindex 1263118749f..27cf7bec720 100644--- a/apps/web/public/static/locales/en/common.json+++ b/apps/web/public/static/locales/en/common.json@@ -947,6 +947,7 @@"new_event_type_btn": "New event type","new_event_type_heading": "Create your first event type","new_event_type_description": "Event types enable you to share links that show available times on your calendar and allow people to make bookings with you.",+ "new_team_event_type_description": "Event types enable the team to share links that show available times on their calendars and allow people to make bookings with the team.","event_type_created_successfully": "{{eventTypeTitle}} event type created successfully","no_call_history": "No call history","no_call_history_description": "No matching call history found for the particular account/search query.",