From 8c046073a891e3a192794869628763ef072002eb Mon Sep 17 00:00:00 2001 From: Unknwon Date: Tue, 1 Sep 2015 19:07:02 -0400 Subject: work on PR conversation --- templates/repo/commits_table.tmpl | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) (limited to 'templates/repo/commits_table.tmpl') diff --git a/templates/repo/commits_table.tmpl b/templates/repo/commits_table.tmpl index 56ec2da3..a077af0b 100644 --- a/templates/repo/commits_table.tmpl +++ b/templates/repo/commits_table.tmpl @@ -10,9 +10,11 @@ {{else if .IsDiffCompare}} - {{ShortSha .BeforeCommitID}} ... {{ShortSha .AfterCommitID}} + {{ShortSha .BeforeCommitID}} ... {{ShortSha .AfterCommitID}} {{end}} + +{{if .Commits}}
@@ -24,9 +26,7 @@ - {{ $username := .Username}} - {{ $reponame := .Reponame}} - {{ $r:= List .Commits}} + {{ $r:= List .Commits}} {{range $r}} - + @@ -44,6 +44,7 @@
@@ -36,7 +36,7 @@   {{.Author.Name}} {{end}} {{SubStr .Id.String 0 10}} {{SubStr .Id.String 0 10}} {{RenderCommitMessage .Summary $.RepoLink}} {{TimeSince .Author.When $.Lang}}
+{{end}} {{with .Page}} {{if gt .TotalPages 1}} -- cgit v1.2.3