From 6e36c44f8c4504ea2e84ac9b4d37c87410ca86a7 Mon Sep 17 00:00:00 2001 From: jbvilla Date: Wed, 26 Apr 2023 23:24:25 +0200 Subject: [PATCH] add mailto link --- .../src/api/services/MailTemplateService.ts | 9 ++++ .../src/components/admin/mail/SendMail.vue | 50 ++++++++++++++----- 2 files changed, 46 insertions(+), 13 deletions(-) diff --git a/frontend/src/api/services/MailTemplateService.ts b/frontend/src/api/services/MailTemplateService.ts index fc727885..8c2b4cfb 100644 --- a/frontend/src/api/services/MailTemplateService.ts +++ b/frontend/src/api/services/MailTemplateService.ts @@ -29,6 +29,15 @@ class MailTemplateService extends EchoService { return {} as EchoPromise } + /** + * Get all mail templates + */ + + @GET('/mailtemplates/') + getMailTemplates(): EchoPromise { + return {} as EchoPromise + } + /** * Update mail template */ diff --git a/frontend/src/components/admin/mail/SendMail.vue b/frontend/src/components/admin/mail/SendMail.vue index 96e62e85..69e54a3e 100644 --- a/frontend/src/components/admin/mail/SendMail.vue +++ b/frontend/src/components/admin/mail/SendMail.vue @@ -2,13 +2,15 @@

Mail versturen

+ + {{ data.syndicusEmail }} @@ -20,6 +22,8 @@ +

Onderwerp

+

Bericht

@@ -27,20 +31,33 @@
+Send Email +