1
1
mirror of https://github.com/go-gitea/gitea synced 2024-11-05 17:54:26 +00:00
gitea/templates/user/settings
Giteabot daaf0ad473
cleanup locale function usage (#27227) (#27240)
Backport #27227 by @denyskon

Throughout the Gitea codebase, you can meet some weird constructions to
make `locale.Tr` work in subtemplates.
Since we now have `ctx.Locale.Tr` which solves that problem, clean up
various templates which pass `locale` through `dict` or use some weird
constructions like `$.root.locale`

Going on, it would be great to replace every case of `$.locale.Tr` and
`.locale.Tr` with `ctx.Locale.Tr`, but that needs to be done with
patience.

Co-authored-by: Denys Konovalov <kontakt@denyskon.de>
2023-09-25 00:21:38 +00:00
..
security Increase auth provider icon size on login page (#27122) 2023-09-19 21:47:13 +00:00
account.tmpl Change green buttons to primary color (#27099) 2023-09-18 22:05:31 +00:00
actions.tmpl Support configuration variables on Gitea Actions (#24724) 2023-06-20 22:54:15 +00:00
appearance.tmpl Change green buttons to primary color (#27099) 2023-09-18 22:05:31 +00:00
applications_oauth2_edit_form.tmpl Change green buttons to primary color (#27099) 2023-09-18 22:05:31 +00:00
applications_oauth2_edit.tmpl Change to vertical navbar layout for secondary navbar for repo/user/admin settings (#24246) 2023-04-23 18:21:21 +08:00
applications_oauth2_list.tmpl Change green buttons to primary color (#27099) 2023-09-18 22:05:31 +00:00
applications_oauth2.tmpl Allow creation of OAuth2 applications for orgs (#18084) 2022-10-09 20:07:41 +08:00
applications.tmpl cleanup locale function usage (#27227) (#27240) 2023-09-25 00:21:38 +00:00
grants_oauth2.tmpl Introduce flex-list & flex-item elements for Gitea UI (#25790) 2023-08-01 00:13:42 +02:00
hook_new.tmpl Extract common code to new template (#26933) 2023-09-06 10:11:06 +00:00
hooks.tmpl Change to vertical navbar layout for secondary navbar for repo/user/admin settings (#24246) 2023-04-23 18:21:21 +08:00
keys_gpg.tmpl Change green buttons to primary color (#27099) 2023-09-18 22:05:31 +00:00
keys_principal.tmpl Change green buttons to primary color (#27099) 2023-09-18 22:05:31 +00:00
keys_ssh.tmpl Change green buttons to primary color (#27099) 2023-09-18 22:05:31 +00:00
keys.tmpl Change to vertical navbar layout for secondary navbar for repo/user/admin settings (#24246) 2023-04-23 18:21:21 +08:00
layout_footer.tmpl Change to vertical navbar layout for secondary navbar for repo/user/admin settings (#24246) 2023-04-23 18:21:21 +08:00
layout_head.tmpl Reduce margins on user settings page, introduce flex-container (#26046) 2023-07-31 07:16:03 +00:00
navbar.tmpl Differentiate better between user settings and admin settings (#26538) 2023-08-16 10:12:03 +00:00
organization.tmpl Use template context function for avatar rendering (#26385) 2023-08-10 11:19:39 +08:00
packages_cleanup_rules_edit.tmpl Change to vertical navbar layout for secondary navbar for repo/user/admin settings (#24246) 2023-04-23 18:21:21 +08:00
packages_cleanup_rules_preview.tmpl Change to vertical navbar layout for secondary navbar for repo/user/admin settings (#24246) 2023-04-23 18:21:21 +08:00
packages.tmpl Change green buttons to primary color (#27099) 2023-09-18 22:05:31 +00:00
profile.tmpl Change green buttons to primary color (#27099) 2023-09-18 22:05:31 +00:00
repos.tmpl Change green buttons to primary color (#27099) 2023-09-18 22:05:31 +00:00
runner_edit.tmpl Add user level action runners (#24995) 2023-05-31 09:39:54 +08:00