From e68b9d00a6e05b3a941f63ffb696f91e554ac5ec Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Fri, 18 Oct 2024 20:33:49 +0200 Subject: Adding upstream version 9.0.3. Signed-off-by: Daniel Baumann --- templates/mail/notify/admin_new_user.tmpl | 20 ++++++++++++++++++++ templates/mail/notify/collaborator.tmpl | 20 ++++++++++++++++++++ templates/mail/notify/repo_transfer.tmpl | 18 ++++++++++++++++++ 3 files changed, 58 insertions(+) create mode 100644 templates/mail/notify/admin_new_user.tmpl create mode 100644 templates/mail/notify/collaborator.tmpl create mode 100644 templates/mail/notify/repo_transfer.tmpl (limited to 'templates/mail/notify') diff --git a/templates/mail/notify/admin_new_user.tmpl b/templates/mail/notify/admin_new_user.tmpl new file mode 100644 index 0000000..655c7ce --- /dev/null +++ b/templates/mail/notify/admin_new_user.tmpl @@ -0,0 +1,20 @@ + + + + + + + + + + + +

{{.Body | SanitizeHTML}}

+ + diff --git a/templates/mail/notify/collaborator.tmpl b/templates/mail/notify/collaborator.tmpl new file mode 100644 index 0000000..6108d40 --- /dev/null +++ b/templates/mail/notify/collaborator.tmpl @@ -0,0 +1,20 @@ + + + + + + + + +

{{.locale.Tr "mail.repo.collaborator.added.text"}} {{.RepoName}}

+ + + diff --git a/templates/mail/notify/repo_transfer.tmpl b/templates/mail/notify/repo_transfer.tmpl new file mode 100644 index 0000000..bc4c4b3 --- /dev/null +++ b/templates/mail/notify/repo_transfer.tmpl @@ -0,0 +1,18 @@ + + + + + + +{{$url := HTMLFormat "%[2]s" .Link .Repo}} + +

{{.Subject}}. + {{.locale.Tr "mail.repo.transfer.body" $url}} +

+

+ --- +
+ {{.locale.Tr "mail.view_it_on" AppName}}. +

+ + -- cgit v1.2.3