]> source.dussan.org Git - gitea.git/commit
Refactor file view & render (#30227) (#30229)
authorGiteabot <teabot@gitea.io>
Mon, 1 Apr 2024 13:39:36 +0000 (21:39 +0800)
committerGitHub <noreply@github.com>
Mon, 1 Apr 2024 13:39:36 +0000 (13:39 +0000)
commitf3f008175999b4aa51f6012ce087a4878b445b46
treec60b3cbe15781a989b9be46eb55f34597425f801
parent3ff4a6936b5ee05b3df945c466285de47ea87ef2
Refactor file view & render (#30227) (#30229)

Backport #30227 by wxiaoguang

The old code is inconsistent and fragile, and the UI isn't right.

Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
routers/web/repo/blame.go
routers/web/repo/setting/lfs.go
routers/web/repo/view.go
templates/repo/blame.tmpl
templates/repo/settings/lfs_file.tmpl
templates/repo/view_file.tmpl
templates/shared/filetoolarge.tmpl [new file with mode: 0644]