From f38e76db5a5672c306ad923ec9f3d5cbb9853256 Mon Sep 17 00:00:00 2001 From: Kilu Date: Fri, 26 Apr 2024 23:25:25 +0800 Subject: [PATCH] feat: support invitation html absolute path --- .../workspace_invitation.html | 36 ++++++++-------- email_template/config.js | 9 ++++ email_template/config.production.js | 9 ++++ .../src/templates/workspace_invitation.html | 43 ++++++++++--------- 4 files changed, 59 insertions(+), 38 deletions(-) diff --git a/assets/mailer_templates/build_production/workspace_invitation.html b/assets/mailer_templates/build_production/workspace_invitation.html index 4918641d..5029ca57 100644 --- a/assets/mailer_templates/build_production/workspace_invitation.html +++ b/assets/mailer_templates/build_production/workspace_invitation.html @@ -42,17 +42,17 @@  ͏  ͏  ͏  ͏  ͏  ͏  ͏  ͏  ͏  ͏  ͏  ͏  ͏  ͏  ͏  ͏  ͏  ͏  ͏  ͏  ͏  ͏  ͏  ͏  ͏  ͏  ͏  ͏  ͏  ͏  ͏  ͏  ͏  ͏  ͏  ͏  ͏  ͏  ͏  ͏  ͏  ͏  ͏  ͏  ͏  ͏  ͏  ͏  ͏  ͏  ͏  ͏  ͏  ͏  ͏  ͏  ͏  ͏  ͏  ͏  ͏  ͏  ͏  ͏  ͏  ͏  ͏  ͏  ͏  ͏  ͏  ͏  ͏  ͏  ͏  ͏  ͏  ͏  ͏  ͏  ͏  ͏  ͏  ͏  ͏  ͏  ͏  ͏  ͏  ͏  ͏  ͏  ͏  ͏  ͏  ͏  ͏  ͏  ͏  ͏  ͏  ͏  ͏  ͏  ͏  ͏  ͏  ͏  ͏  ͏  ͏  ͏  ͏  ͏  ͏  ͏  ͏  ͏  ͏  ͏  ͏  ͏  ͏  ͏  ͏  ͏  ͏  ͏  ͏  ͏  ͏  ͏  ͏  ͏  ͏  ͏  ͏  ͏  ͏  ͏  ͏  ͏  ͏  ͏  ͏  ͏  ͏  ͏  ͏  ͏
-
+
@@ -73,14 +73,14 @@
-
- +
+ {{ .UserName }}

- undefined + {{ .UserName }} invited to Join - undefined + {{ .WorkspaceName }} on AppFlowy

@@ -64,8 +64,8 @@
-
- +
+ {{ .WorkspaceName }}
- undefined + {{ .WorkspaceName }}
-
undefined members
+
{{ .WorkspaceMembersCount }} members
- + @@ -110,7 +110,7 @@

- +

@@ -126,7 +126,7 @@ - Download on the App Store + Download on the App Store Test Flight - Get it on Google Play + Get it on Google Play Google Play