0
0
Fork 0
mirror of https://github.com/go-gitea/gitea synced 2024-11-25 17:52:46 +01:00
gitea/templates/shared/filetoolarge.tmpl
wxiaoguang 751997ad34
Refactor file view & render (#30227)
The old code is inconsistent and fragile, and the UI isn't right.
2024-04-01 21:11:30 +08:00

4 lines
181 B
Handlebars

<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>