feat: add links to cancel anonymous participations in emails
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
This commit is contained in:
@@ -20,6 +20,7 @@ export enum EventRouteName {
|
||||
EVENT_PARTICIPATE_WITHOUT_ACCOUNT = "EVENT_PARTICIPATE_WITHOUT_ACCOUNT",
|
||||
EVENT_PARTICIPATE_LOGGED_OUT = "EVENT_PARTICIPATE_LOGGED_OUT",
|
||||
EVENT_PARTICIPATE_CONFIRM = "EVENT_PARTICIPATE_CONFIRM",
|
||||
EVENT_PARTICIPATE_CANCEL = "EVENT_PARTICIPATE_CANCEL",
|
||||
TAG = "Tag",
|
||||
}
|
||||
|
||||
@@ -124,6 +125,18 @@ export const eventRoutes: RouteRecordRaw[] = [
|
||||
},
|
||||
props: true,
|
||||
},
|
||||
{
|
||||
path: "/participation/email/cancel/:uuid/:token",
|
||||
name: EventRouteName.EVENT_PARTICIPATE_CANCEL,
|
||||
component: () =>
|
||||
import("../components/Participation/CancelParticipation.vue"),
|
||||
meta: {
|
||||
announcer: {
|
||||
message: (): string => t("Cancel participation") as string,
|
||||
},
|
||||
},
|
||||
props: true,
|
||||
},
|
||||
{
|
||||
path: "/tag/:tag",
|
||||
name: EventRouteName.TAG,
|
||||
|
||||
Reference in New Issue
Block a user