From b2632dec099cb2727933149d2d59cc5e46baa15f Mon Sep 17 00:00:00 2001 From: Unknwon Date: Fri, 10 Oct 2014 21:40:51 -0400 Subject: Page: Compare 2 commits --- templates/repo/commits_table.tmpl | 4 ++- templates/repo/diff.tmpl | 76 +++++++++++++++++++++------------------ 2 files changed, 44 insertions(+), 36 deletions(-) (limited to 'templates/repo') diff --git a/templates/repo/commits_table.tmpl b/templates/repo/commits_table.tmpl index 032299b1..5b9761b1 100644 --- a/templates/repo/commits_table.tmpl +++ b/templates/repo/commits_table.tmpl @@ -1,10 +1,12 @@
+ {{if not .IsDiffCompare}} + {{end}}

{{.CommitCount}} {{.i18n.Tr "repo.commits.commits"}}

@@ -31,7 +33,7 @@
- {{if not .IsSearchPage}} + {{if and (not .IsSearchPage) (not .IsDiffCompare)}}