diff options
author | FuXiaoHei <fuxiaohei@hexiaz.com> | 2014-03-19 20:34:11 +0800 |
---|---|---|
committer | FuXiaoHei <fuxiaohei@hexiaz.com> | 2014-03-19 20:34:11 +0800 |
commit | 78097a2c5a79ec93340db975c23014de2a329572 (patch) | |
tree | 1d9bc1f5422d03eca18269fc1c6b90ebe8910d20 /templates/repo | |
parent | 9533b23272097c538e25692ec91c37f4ea6c0b81 (diff) | |
parent | de087c7b4a31cb0643d5432ec9d6b26e208baff2 (diff) |
Merge branch 'master' of https://github.com/gogits/gogs
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 9190a030..4bffb9da 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 00000000..daacc089 --- /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 00000000..daacc089 --- /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 |