From 6821527c95032591684542fa201dfa800fbe7246 Mon Sep 17 00:00:00 2001 From: Unknwon Date: Fri, 21 Aug 2015 00:32:46 +0800 Subject: [PATCH] fix style --- templates/repo/commits_table.tmpl | 2 ++ templates/repo/diff.tmpl | 8 -------- 2 files changed, 2 insertions(+), 8 deletions(-) diff --git a/templates/repo/commits_table.tmpl b/templates/repo/commits_table.tmpl index 5586e0632..eefdf8c82 100644 --- a/templates/repo/commits_table.tmpl +++ b/templates/repo/commits_table.tmpl @@ -9,6 +9,8 @@ + {{else if .IsDiffCompare}} + {{ShortSha .BeforeCommitId}} ... {{ShortSha .AfterCommitId}} {{end}}
diff --git a/templates/repo/diff.tmpl b/templates/repo/diff.tmpl index ed3b32bcc..8b10cc880 100644 --- a/templates/repo/diff.tmpl +++ b/templates/repo/diff.tmpl @@ -3,14 +3,6 @@ {{template "repo/header" .}}
{{if .IsDiffCompare }} - {{template "repo/commits_table" .}} {{else}}