mirror of https://github.com/go-gitea/gitea
Refactor file view & render (#30227)
The old code is inconsistent and fragile, and the UI isn't right.pull/30224/head^2
parent
a008486f5c
commit
751997ad34
@ -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> |
Loading…
Reference in new issue