From 3da325591b5d8578f575f5fad59595f3c5efe4d6 Mon Sep 17 00:00:00 2001 From: Lunny Xiao Date: Wed, 19 Mar 2014 14:39:07 +0800 Subject: bug fixed for commits list --- templates/repo/commits.tmpl | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'templates/repo/commits.tmpl') 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 @@
    - {{range .Commits}} -
  • {{.Committer.Name}} - {{.Id}} - {{.Message}} - {{.Committer.When}}
  • + {{$r := List .Commits}} + {{range $r}} +
  • {{.Committer.Name}} - {{.Id}} - {{.Message}} - {{.Committer.When}}
  • {{end}}
-- cgit v1.2.3