]> source.dussan.org Git - gitea.git/commit
Refactor file view & render (#30227)
authorwxiaoguang <wxiaoguang@gmail.com>
Mon, 1 Apr 2024 13:11:30 +0000 (21:11 +0800)
committerGitHub <noreply@github.com>
Mon, 1 Apr 2024 13:11:30 +0000 (21:11 +0800)
commit751997ad34fdd52b9f3956b14395560b059c9ac1
treeed31804eaad6dd0d85593e7457da8974c7106b0f
parenta008486f5c5acfe2d2acb009f41dc660ee8348eb
Refactor file view & render (#30227)

The old code is inconsistent and fragile, and the UI isn't right.
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]