From 65aa53fc52ff15efe54df4147564828d535837f8 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Fri, 11 Oct 2024 12:27:00 +0200 Subject: Adding upstream version 8.0.3. Signed-off-by: Daniel Baumann --- templates/mail/auth/activate.tmpl | 16 ++++++++++++++++ templates/mail/auth/activate_email.tmpl | 16 ++++++++++++++++ templates/mail/auth/register_notify.tmpl | 17 +++++++++++++++++ templates/mail/auth/reset_passwd.tmpl | 16 ++++++++++++++++ 4 files changed, 65 insertions(+) create mode 100644 templates/mail/auth/activate.tmpl create mode 100644 templates/mail/auth/activate_email.tmpl create mode 100644 templates/mail/auth/register_notify.tmpl create mode 100644 templates/mail/auth/reset_passwd.tmpl (limited to 'templates/mail/auth') diff --git a/templates/mail/auth/activate.tmpl b/templates/mail/auth/activate.tmpl new file mode 100644 index 00000000..eb7ea5a8 --- /dev/null +++ b/templates/mail/auth/activate.tmpl @@ -0,0 +1,16 @@ + + + + + + + +{{$activate_url := printf "%suser/activate?code=%s" AppUrl (QueryEscape .Code)}} + +

{{.locale.Tr "mail.activate_account.text_1" (.DisplayName|DotEscape) AppName}}


+

{{.locale.Tr "mail.activate_account.text_2" .ActiveCodeLives}}

{{$activate_url}}


+

{{.locale.Tr "mail.link_not_working_do_paste"}}

+ +

© {{AppName}}

+ + diff --git a/templates/mail/auth/activate_email.tmpl b/templates/mail/auth/activate_email.tmpl new file mode 100644 index 00000000..9ca54d30 --- /dev/null +++ b/templates/mail/auth/activate_email.tmpl @@ -0,0 +1,16 @@ + + + + + + + +{{$activate_url := printf "%suser/activate_email?code=%s&email=%s" AppUrl (QueryEscape .Code) (QueryEscape .Email)}} + +

{{.locale.Tr "mail.hi_user_x" (.DisplayName|DotEscape)}}


+

{{.locale.Tr "mail.activate_email.text" .ActiveCodeLives}}

{{$activate_url}}


+

{{.locale.Tr "mail.link_not_working_do_paste"}}

+ +

© {{AppName}}

+ + diff --git a/templates/mail/auth/register_notify.tmpl b/templates/mail/auth/register_notify.tmpl new file mode 100644 index 00000000..d3a668b0 --- /dev/null +++ b/templates/mail/auth/register_notify.tmpl @@ -0,0 +1,17 @@ + + + + + + + +{{$set_pwd_url := printf "%[1]suser/forgot_password" AppUrl}} + +

{{.locale.Tr "mail.hi_user_x" (.DisplayName|DotEscape)}}


+

{{.locale.Tr "mail.register_notify.text_1" AppName}}


+

{{.locale.Tr "mail.register_notify.text_2" .Username}}

{{AppUrl}}user/login


+

{{.locale.Tr "mail.register_notify.text_3" $set_pwd_url}}


+ +

© {{AppName}}

+ + diff --git a/templates/mail/auth/reset_passwd.tmpl b/templates/mail/auth/reset_passwd.tmpl new file mode 100644 index 00000000..b85b770d --- /dev/null +++ b/templates/mail/auth/reset_passwd.tmpl @@ -0,0 +1,16 @@ + + + + + + + +{{$recover_url := printf "%suser/recover_account?code=%s" AppUrl (QueryEscape .Code)}} + +

{{.locale.Tr "mail.hi_user_x" (.DisplayName|DotEscape)}}


+

{{.locale.Tr "mail.reset_password.text" .ResetPwdCodeLives}}

{{$recover_url}}


+

{{.locale.Tr "mail.link_not_working_do_paste"}}

+ +

© {{AppName}}

+ + -- cgit v1.2.3