mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2025-06-01 20:32:11 +00:00
Fix diff of renamed and modified file (#1967)
This commit is contained in:
parent
274149dd14
commit
57cabb3ad3
2 changed files with 7 additions and 8 deletions
|
@ -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">
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue