1
0
Fork 0
forked from forgejo/forgejo

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
This commit is contained in:
Adam Strzelecki 2015-12-07 23:30:52 +01:00
parent dd8a06a397
commit da2585c11e
114 changed files with 5559 additions and 5551 deletions

View file

@ -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>

View file

@ -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>