0
Fork 0
mirror of https://codeberg.org/forgejo/forgejo.git synced 2024-12-25 00:44:15 -05:00
forgejo/routers/web/admin
wxiaoguang ff2f479a4b
Clean template/helper.go (#23922)
The first step of #23328

This PR cleans:

1. Dead function like `SubStr`
2. Unnecessary function like `UseHTTPS`, it should be provided by
`window.origin`
3. Duplicate function like `IsShowFullName`, there was already a
`DeafultShowFullName`

I have searched these removed functions globally, no use in code.
2023-04-07 03:31:41 -04:00
..
admin.go Implement FSFE REUSE for golang files (#21840) 2022-11-27 18:20:29 +00:00
admin_test.go Implement FSFE REUSE for golang files (#21840) 2022-11-27 18:20:29 +00:00
applications.go Implement FSFE REUSE for golang files (#21840) 2022-11-27 18:20:29 +00:00
auths.go Fix 500 error if there is a name conflict when edit authentication source (#23832) 2023-03-31 22:32:18 +08:00
config.go Clean template/helper.go (#23922) 2023-04-07 03:31:41 -04:00
emails.go Implement FSFE REUSE for golang files (#21840) 2022-11-27 18:20:29 +00:00
hooks.go Add main landmark to templates and adjust titles (#22670) 2023-02-01 22:56:10 +00:00
main_test.go Implement FSFE REUSE for golang files (#21840) 2022-11-27 18:20:29 +00:00
notice.go Implement FSFE REUSE for golang files (#21840) 2022-11-27 18:20:29 +00:00
orgs.go Implement FSFE REUSE for golang files (#21840) 2022-11-27 18:20:29 +00:00
packages.go Display unreferenced packages total size in package admin panel (#22498) 2023-01-18 09:52:04 -06:00
repos.go Use context parameter in services/repository (#23186) 2023-02-28 16:17:51 -06:00
runners.go Implement actions (#21937) 2023-01-31 09:45:19 +08:00
users.go Fix incorrect/Improve error handle in edit user page (#23805) 2023-03-30 13:27:00 -04:00
users_test.go Implement FSFE REUSE for golang files (#21840) 2022-11-27 18:20:29 +00:00