1
1
mirror of https://github.com/go-gitea/gitea synced 2025-08-12 20:48:20 +00:00

Fix diff of renamed and modified file (#2136)

This commit is contained in:
Ethan Koenig
2017-07-11 03:19:10 -04:00
committed by Bo-Yi Wu
parent 6caf04c129
commit 6a6f0616f2
2 changed files with 7 additions and 8 deletions

View File

@@ -78,7 +78,7 @@
{{end}}
</h4>
<div class="ui attached table segment">
{{if not $file.IsRenamed}}
{{if ne $file.Type 4}}
{{$isImage := (call $.IsImageFile $file.Name)}}
{{if and $isImage}}
<div class="center">