0
Fork 0
mirror of https://codeberg.org/forgejo/forgejo.git synced 2024-12-28 18:34:10 -05:00
forgejo/templates/user/auth
wxiaoguang 81925ebb0c
Refactor more code in templates (#29236)
Follow #29165.

* Introduce JSONTemplate to help to render JSON templates
* Introduce JSEscapeSafe for templates. Now only use `{{ ... |
JSEscape}}` instead of `{{ ... | JSEscape | Safe}}`
* Simplify "UserLocationMapURL" useage

(cherry picked from commit 31bb9f3247388b993c61a10190cfd512408ce57e)
2024-02-19 22:58:32 +01:00
..
activate.tmpl [GITEA] Allow changing the email address before activation 2024-02-05 16:09:41 +01:00
captcha.tmpl Move the captcha script loader to the template which really needs it (#28718) 2024-01-07 15:41:46 +00:00
change_passwd.tmpl
change_passwd_inner.tmpl Always use ctx.Locale.Tr inside templates (#27231) 2023-09-25 08:56:50 +00:00
finalize_openid.tmpl Always use ctx.Locale.Tr inside templates (#27231) 2023-09-25 08:56:50 +00:00
forgot_passwd.tmpl Always use ctx.Locale.Tr inside templates (#27231) 2023-09-25 08:56:50 +00:00
grant.tmpl Fix more "locale" usages (#27259) 2023-09-25 20:42:40 +08:00
grant_error.tmpl Always use ctx.Locale.Tr inside templates (#27231) 2023-09-25 08:56:50 +00:00
link_account.tmpl Always use ctx.Locale.Tr inside templates (#27231) 2023-09-25 08:56:50 +00:00
oidc_wellknown.tmpl Refactor more code in templates (#29236) 2024-02-19 22:58:32 +01:00
prohibit_login.tmpl Always use ctx.Locale.Tr inside templates (#27231) 2023-09-25 08:56:50 +00:00
reset_passwd.tmpl Always use ctx.Locale.Tr inside templates (#27231) 2023-09-25 08:56:50 +00:00
signin.tmpl
signin_inner.tmpl move sign in labels to be above inputs (#28753) 2024-02-16 15:20:52 +01:00
signin_navbar.tmpl Always use ctx.Locale.Tr inside templates (#27231) 2023-09-25 08:56:50 +00:00
signin_openid.tmpl move sign in labels to be above inputs (#28753) 2024-02-16 15:20:52 +01:00
signup.tmpl Show OpenID Connect and OAuth on signup page (#20242) 2023-09-13 05:14:21 +00:00
signup_inner.tmpl move sign in labels to be above inputs (#28753) 2024-02-16 15:20:52 +01:00
signup_openid_connect.tmpl Always use ctx.Locale.Tr inside templates (#27231) 2023-09-25 08:56:50 +00:00
signup_openid_navbar.tmpl Always use ctx.Locale.Tr inside templates (#27231) 2023-09-25 08:56:50 +00:00
signup_openid_register.tmpl Always use ctx.Locale.Tr inside templates (#27231) 2023-09-25 08:56:50 +00:00
twofa.tmpl Always use ctx.Locale.Tr inside templates (#27231) 2023-09-25 08:56:50 +00:00
twofa_scratch.tmpl Always use ctx.Locale.Tr inside templates (#27231) 2023-09-25 08:56:50 +00:00
webauthn.tmpl Don't show Link to TOTP if not set up (#27585) 2023-10-11 20:12:54 +00:00
webauthn_error.tmpl Always use ctx.Locale.Tr inside templates (#27231) 2023-09-25 08:56:50 +00:00