From: Unknwon Date: Thu, 20 Aug 2015 16:32:46 +0000 (+0800) Subject: fix style X-Git-Tag: v0.9.99~1181 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=6821527c95032591684542fa201dfa800fbe7246;p=gitea.git fix style --- diff --git a/templates/repo/commits_table.tmpl b/templates/repo/commits_table.tmpl index 5586e0632b..eefdf8c824 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 ed3b32bcc6..8b10cc8808 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}}