diff --git a/src/components/Event/EventActionSection.vue b/src/components/Event/EventActionSection.vue index 396efc61..f094f8b4 100644 --- a/src/components/Event/EventActionSection.vue +++ b/src/components/Event/EventActionSection.vue @@ -107,6 +107,38 @@ {{ t("Actions") }} + + + + {{ t("Participations") }} + + + + + + {{ t("Announcements") }} + + import("@/components/Event/ShareEventModal.vue") diff --git a/src/router/event.ts b/src/router/event.ts index 552290b4..5b1c3c39 100644 --- a/src/router/event.ts +++ b/src/router/event.ts @@ -15,6 +15,7 @@ export enum EventRouteName { EDIT_EVENT = "EditEvent", DUPLICATE_EVENT = "DuplicateEvent", PARTICIPATIONS = "Participations", + ANNOUNCEMENTS = "ANNOUNCEMENTS", EVENT = "Event", EVENT_PARTICIPATE_WITH_ACCOUNT = "EVENT_PARTICIPATE_WITH_ACCOUNT", EVENT_PARTICIPATE_WITHOUT_ACCOUNT = "EVENT_PARTICIPATE_WITHOUT_ACCOUNT", @@ -70,6 +71,13 @@ export const eventRoutes: RouteRecordRaw[] = [ meta: { requiredAuth: true, announcer: { skip: true } }, props: true, }, + { + path: "/events/:eventId/announcements", + name: EventRouteName.ANNOUNCEMENTS, + component: () => import("../views/Event/AnnouncementView.vue"), + meta: { requiredAuth: true, announcer: { skip: true } }, + props: true, + }, { path: "/events/:uuid", name: EventRouteName.EVENT, diff --git a/src/views/Event/AnnouncementView.vue b/src/views/Event/AnnouncementView.vue new file mode 100644 index 00000000..cdd5a4dc --- /dev/null +++ b/src/views/Event/AnnouncementView.vue @@ -0,0 +1,47 @@ + + + diff --git a/src/views/Event/ParticipantsView.vue b/src/views/Event/ParticipantsView.vue index 81b900a3..7624f920 100644 --- a/src/views/Event/ParticipantsView.vue +++ b/src/views/Event/ParticipantsView.vue @@ -252,8 +252,6 @@ - - @@ -287,8 +285,6 @@ import EmptyContent from "@/components/Utils/EmptyContent.vue"; import { Notifier } from "@/plugins/notifier"; import Tag from "@/components/TagElement.vue"; import { useHead } from "@unhead/vue"; -import EventConversations from "../../components/Conversations/EventConversations.vue"; -import NewPrivateMessage from "../../components/Participation/NewPrivateMessage.vue"; const PARTICIPANTS_PER_PAGE = 10; const MESSAGE_ELLIPSIS_LENGTH = 130;