mirror of
https://github.com/go-gitea/gitea
synced 2025-07-22 18:28:37 +00:00
Refactor file view & render (#30227)
The old code is inconsistent and fragile, and the UI isn't right.
This commit is contained in:
4
templates/shared/filetoolarge.tmpl
Normal file
4
templates/shared/filetoolarge.tmpl
Normal file
@@ -0,0 +1,4 @@
|
||||
<div class="tw-p-4">
|
||||
{{ctx.Locale.Tr "repo.file_too_large"}}
|
||||
{{if .RawFileLink}}<a href="{{.RawFileLink}}" rel="nofollow">{{ctx.Locale.Tr "repo.file_view_raw"}}</a>{{end}}
|
||||
</div>
|
Reference in New Issue
Block a user