mirror of https://github.com/go-gitea/gitea.git
Improve detecting empty files (#31332)
Co-authored-by: silverwind <me@silverwind.io>pull/31348/head^2
parent
7115dce773
commit
47ca61d8ba
@ -0,0 +1,3 @@
|
||||
<div class="file-not-rendered-prompt">
|
||||
{{ctx.Locale.Tr "repo.file_is_empty"}}
|
||||
</div>
|
@ -1,4 +1,4 @@
|
||||
<div class="tw-p-4">
|
||||
<div class="file-not-rendered-prompt">
|
||||
{{ctx.Locale.Tr "repo.file_too_large"}}
|
||||
{{if .RawFileLink}}<a href="{{.RawFileLink}}" rel="nofollow">{{ctx.Locale.Tr "repo.file_view_raw"}}</a>{{end}}
|
||||
</div>
|
||||
|
Loading…
Reference in New Issue