From 562e47f31ced80adc6ffa629e2d8459465c369e9 Mon Sep 17 00:00:00 2001 From: Unknwon Date: Thu, 17 Sep 2015 15:45:36 -0400 Subject: finish all new template for current ones --- templates/mail/notify/collaborator.tmpl | 18 ++++++++---------- templates/mail/notify/mention.tmpl | 17 +++++++++-------- 2 files changed, 17 insertions(+), 18 deletions(-) (limited to 'templates/mail/notify') diff --git a/templates/mail/notify/collaborator.tmpl b/templates/mail/notify/collaborator.tmpl index 36a3149d..9b7e76ed 100644 --- a/templates/mail/notify/collaborator.tmpl +++ b/templates/mail/notify/collaborator.tmpl @@ -1,18 +1,16 @@ - - {{.Subject}} + + {{.Subject}} -

You can now push to this repository.

-

- --- -
- View it on Gogs: -
- {{.AppUrl}}{{.RepoLink}} -

+

You are now a collaborator of this repository.

+

+ --- +
+ View it on Gogs: {{.RepoLink}} +

diff --git a/templates/mail/notify/mention.tmpl b/templates/mail/notify/mention.tmpl index be022d0d..6c6fba32 100644 --- a/templates/mail/notify/mention.tmpl +++ b/templates/mail/notify/mention.tmpl @@ -1,16 +1,17 @@ - - {{.Subject}} + + {{.Subject}} -

{{.ActUserName}} mentioned you.

-

- --- -
- View it on Gogs. -

+

@{{.ActUserName}} mentioned you:

+

{{.Content | Str2html}}

+

+ --- +
+ View it on Gogs. +

-- cgit v1.2.3