mirror of
https://github.com/thomiceli/opengist.git
synced 2025-06-21 17:28:00 +02:00
Truncate diff
This commit is contained in:
4
templates/pages/revisions.html
vendored
4
templates/pages/revisions.html
vendored
@ -39,7 +39,9 @@
|
||||
</p>
|
||||
</div>
|
||||
<div class="code overflow-auto">
|
||||
{{ if and (eq $file.Content "") (ne $file.OldFilename "") }}
|
||||
{{ if $file.Truncated }}
|
||||
<p class="m-2 ml-4 text-xs">Diff truncated because its too large to be shown</p>
|
||||
{{ else if and (eq $file.Content "") (ne $file.OldFilename "") }}
|
||||
<p class="m-2 ml-4 text-xs">File renamed without changes</p>
|
||||
{{ else if eq $file.Content "" }}
|
||||
<p class="m-2 ml-4 text-xs">Empty file</p>
|
||||
|
Reference in New Issue
Block a user