1
0
mirror of https://github.com/go-gitea/gitea synced 2024-11-14 01:35:54 +01:00
gitea/templates/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
..
applications Add main landmark to templates and adjust titles (#22670) 2023-02-01 22:56:10 +00:00
auth Convert .Source.SkipVerify to $cfg.SkipVerify (#23839) 2023-04-03 12:06:16 -04:00
base Optimize html templates (#22080) 2022-12-09 21:34:51 +08:00
emails Convert <div class="button"> to <button class="button"> (#23337) 2023-03-14 11:34:09 +08:00
org Add main landmark to templates and adjust titles (#22670) 2023-02-01 22:56:10 +00:00
packages Add main landmark to templates and adjust titles (#22670) 2023-02-01 22:56:10 +00:00
repo Fix .locale.Tr function not found in delete modal (#23468) 2023-03-20 20:41:57 -04:00
runners Implement actions (#21937) 2023-01-31 09:45:19 +08:00
user Remove incorrect HTML self close tag (#23748) 2023-03-27 18:05:51 +02:00
config.tmpl Clean template/helper.go (#23922) 2023-04-07 03:31:41 -04:00
cron.tmpl Remove incorrect HTML self close tag (#23748) 2023-03-27 18:05:51 +02:00
dashboard.tmpl Remove incorrect HTML self close tag (#23748) 2023-03-27 18:05:51 +02:00
hook_new.tmpl Add main landmark to templates and adjust titles (#22670) 2023-02-01 22:56:10 +00:00
hooks.tmpl Add main landmark to templates and adjust titles (#22670) 2023-02-01 22:56:10 +00:00
monitor.tmpl Add main landmark to templates and adjust titles (#22670) 2023-02-01 22:56:10 +00:00
navbar.tmpl Implement actions (#21937) 2023-01-31 09:45:19 +08:00
notice.tmpl Use data-tooltip-content for tippy tooltip (#23649) 2023-03-24 18:35:38 +08:00
process-row.tmpl Move helpers to be prefixed with gt- (#22879) 2023-02-13 17:59:59 +00:00
process.tmpl Refactor i18n to locale (#20153) 2022-06-27 15:58:46 -05:00
queue.tmpl Add main landmark to templates and adjust titles (#22670) 2023-02-01 22:56:10 +00:00
stacktrace-row.tmpl Move helpers to be prefixed with gt- (#22879) 2023-02-13 17:59:59 +00:00
stacktrace.tmpl Add main landmark to templates and adjust titles (#22670) 2023-02-01 22:56:10 +00:00