Fix diff of renamed and modified file (#1967)

This commit is contained in:
Ethan Koenig 2017-06-14 05:07:09 -04:00 committed by Bo-Yi Wu
parent 274149dd14
commit 57cabb3ad3
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">