0
0
Fork 0
mirror of https://github.com/go-gitea/gitea synced 2024-12-25 11:24:50 +01:00
gitea/modules/templates
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
..
vars
base.go
dynamic.go
helper.go Clean template/helper.go (#23922) 2023-04-07 03:31:41 -04:00
helper_test.go
htmlrenderer.go Improve template error reporting (#23396) 2023-03-20 15:56:48 -05:00
mailer.go
static.go
templates_bindata.go