diff options
author | Unknwon <u@gogs.io> | 2015-08-21 00:32:46 +0800 |
---|---|---|
committer | Unknwon <u@gogs.io> | 2015-08-21 00:32:46 +0800 |
commit | 6821527c95032591684542fa201dfa800fbe7246 (patch) | |
tree | a90293cb195cc70111d424df0eb000f54b5ebc11 /templates/repo/commits_table.tmpl | |
parent | 4275b3720a04ccbca99907e800a55ab9df9fdcf6 (diff) | |
download | gitea-6821527c95032591684542fa201dfa800fbe7246.tar.gz gitea-6821527c95032591684542fa201dfa800fbe7246.zip |
fix style
Diffstat (limited to 'templates/repo/commits_table.tmpl')
-rw-r--r-- | templates/repo/commits_table.tmpl | 2 |
1 files changed, 2 insertions, 0 deletions
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 @@ <button class="ui black tiny button" data-panel="#add-deploy-key-panel">{{.i18n.Tr "repo.commits.find"}}</button> </form> </div> + {{else if .IsDiffCompare}} + <a href="{{$.RepoLink}}/commit/{{.BeforeCommitId}}" class="ui green sha label">{{ShortSha .BeforeCommitId}}</a> ... <a href="{{$.RepoLink}}/commit/{{.AfterCommitId}}" class="ui green sha label">{{ShortSha .AfterCommitId}}</a> {{end}} </h4> <div class="ui attached table segment"> |