aboutsummaryrefslogtreecommitdiff
path: root/templates/mail/notify
diff options
context:
space:
mode:
authorAdam Strzelecki <ono@java.pl>2015-12-07 23:30:52 +0100
committerAdam Strzelecki <ono@java.pl>2015-12-08 00:57:46 +0100
commitda2585c11e11023ffa7a8c69d21c6fecac520a8e (patch)
tree1c2a575dfc00e0e78f47c497a6d9347b3edeca9a /templates/mail/notify
parentdd8a06a397e26c46639eba1313102560dfa49c95 (diff)
Indent all templates with tabs
This commit improves templates readability, since all of them use consistent indent with all template command blocks indented too. 1. Indents both HTML containers such as <div>, <p> and Go HTML template blocks such as {{if}} {{with}} 2. Cleans all trailing white-space 3. Adds trailing last line-break to each file
Diffstat (limited to 'templates/mail/notify')
-rw-r--r--templates/mail/notify/collaborator.tmpl16
-rw-r--r--templates/mail/notify/mention.tmpl18
2 files changed, 17 insertions, 17 deletions
diff --git a/templates/mail/notify/collaborator.tmpl b/templates/mail/notify/collaborator.tmpl
index 9b7e76ed..a4748093 100644
--- a/templates/mail/notify/collaborator.tmpl
+++ b/templates/mail/notify/collaborator.tmpl
@@ -1,16 +1,16 @@
<!DOCTYPE html>
<html>
<head>
- <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
- <title>{{.Subject}}</title>
+ <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
+ <title>{{.Subject}}</title>
</head>
<body>
- <p>You are now a collaborator of this repository.</p>
- <p>
- ---
- <br>
- View it on Gogs: <a href="{{.AppUrl}}{{.RepoLink}}">{{.RepoLink}}</a>
- </p>
+ <p>You are now a collaborator of this repository.</p>
+ <p>
+ ---
+ <br>
+ View it on Gogs: <a href="{{.AppUrl}}{{.RepoLink}}">{{.RepoLink}}</a>
+ </p>
</body>
</html>
diff --git a/templates/mail/notify/mention.tmpl b/templates/mail/notify/mention.tmpl
index 6c6fba32..048a0c9c 100644
--- a/templates/mail/notify/mention.tmpl
+++ b/templates/mail/notify/mention.tmpl
@@ -1,17 +1,17 @@
<!DOCTYPE html>
<html>
<head>
- <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
- <title>{{.Subject}}</title>
+ <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
+ <title>{{.Subject}}</title>
</head>
<body>
- <p>@{{.ActUserName}} mentioned you:</p>
- <p>{{.Content | Str2html}}</p>
- <p>
- ---
- <br>
- <a href="{{.AppUrl}}{{.IssueLink}}">View it on Gogs</a>.
- </p>
+ <p>@{{.ActUserName}} mentioned you:</p>
+ <p>{{.Content | Str2html}}</p>
+ <p>
+ ---
+ <br>
+ <a href="{{.AppUrl}}{{.IssueLink}}">View it on Gogs</a>.
+ </p>
</body>
</html>