diff options
Diffstat (limited to 'templates/repo')
-rw-r--r-- | templates/repo/commits.tmpl | 5 | ||||
-rw-r--r-- | templates/repo/issues.tmpl | 9 | ||||
-rw-r--r-- | templates/repo/pulls.tmpl | 9 |
3 files changed, 21 insertions, 2 deletions
diff --git a/templates/repo/commits.tmpl b/templates/repo/commits.tmpl index 9190a030a3..4bffb9daf7 100644 --- a/templates/repo/commits.tmpl +++ b/templates/repo/commits.tmpl @@ -5,8 +5,9 @@ <div id="gogs-body" class="container"> <div id="gogs-commits"> <ul> - {{range .Commits}} - <li>{{.Committer.Name}} - {{.Id}} - {{.Message}} - {{.Committer.When}}</li> + {{$r := List .Commits}} + {{range $r}} + <li>{{.Committer.Name}} - {{.Id}} - {{.Message}} - {{.Committer.When}}</li> {{end}} </ul> </div> diff --git a/templates/repo/issues.tmpl b/templates/repo/issues.tmpl new file mode 100644 index 0000000000..daacc089c3 --- /dev/null +++ b/templates/repo/issues.tmpl @@ -0,0 +1,9 @@ +{{template "base/head" .}} +{{template "base/navbar" .}} +{{template "repo/nav" .}} +{{template "repo/toolbar" .}} +<div id="gogs-body" class="container"> + <div id="gogs-source"> + </div> +</div> +{{template "base/footer" .}}
\ No newline at end of file diff --git a/templates/repo/pulls.tmpl b/templates/repo/pulls.tmpl new file mode 100644 index 0000000000..daacc089c3 --- /dev/null +++ b/templates/repo/pulls.tmpl @@ -0,0 +1,9 @@ +{{template "base/head" .}} +{{template "base/navbar" .}} +{{template "repo/nav" .}} +{{template "repo/toolbar" .}} +<div id="gogs-body" class="container"> + <div id="gogs-source"> + </div> +</div> +{{template "base/footer" .}}
\ No newline at end of file |