summaryrefslogtreecommitdiffstats
path: root/templates/repo/forks.tmpl
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/repo/forks.tmpl
parentdd8a06a397e26c46639eba1313102560dfa49c95 (diff)
downloadgitea-da2585c11e11023ffa7a8c69d21c6fecac520a8e.tar.gz
gitea-da2585c11e11023ffa7a8c69d21c6fecac520a8e.zip
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/repo/forks.tmpl')
-rw-r--r--templates/repo/forks.tmpl36
1 files changed, 18 insertions, 18 deletions
diff --git a/templates/repo/forks.tmpl b/templates/repo/forks.tmpl
index 91085b9d22..e8b57e1af3 100644
--- a/templates/repo/forks.tmpl
+++ b/templates/repo/forks.tmpl
@@ -1,22 +1,22 @@
{{template "base/head" .}}
<div class="repository forks">
- {{template "repo/header" .}}
- <div class="ui container">
- <h2 class="ui dividing header">
- {{.i18n.Tr "repo.forks"}}
- </h2>
- <div class="ui list">
- {{range .Forks}}
- <div class="item">
- <img class="ui avatar image" src="{{.Owner.AvatarLink}}">
- <div class="link">
- <a href="{{AppSubUrl}}/{{.Owner.Name}}">{{.Owner.Name}}</a>
- /
- <a href="{{AppSubUrl}}/{{.Owner.Name}}/{{.Name}}">{{.Name}}</a>
- </div>
- </div>
- {{end}}
- </div>
- </div>
+ {{template "repo/header" .}}
+ <div class="ui container">
+ <h2 class="ui dividing header">
+ {{.i18n.Tr "repo.forks"}}
+ </h2>
+ <div class="ui list">
+ {{range .Forks}}
+ <div class="item">
+ <img class="ui avatar image" src="{{.Owner.AvatarLink}}">
+ <div class="link">
+ <a href="{{AppSubUrl}}/{{.Owner.Name}}">{{.Owner.Name}}</a>
+ /
+ <a href="{{AppSubUrl}}/{{.Owner.Name}}/{{.Name}}">{{.Name}}</a>
+ </div>
+ </div>
+ {{end}}
+ </div>
+ </div>
</div>
{{template "base/footer" .}}