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 ++++++++++++++++++++----------------- templates/user/dashboard/feeds.tmpl | 1 + 3 files changed, 45 insertions(+), 36 deletions(-) (limited to 'templates') diff --git a/templates/repo/commits_table.tmpl b/templates/repo/commits_table.tmpl index 032299b102..5b9761b165 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)}}
{{else if eq .GetOpType 6}} -- cgit v1.2.3