1
1
mirror of https://github.com/go-gitea/gitea synced 2024-12-25 01:54:26 +00:00
gitea/templates/repo/issue
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
..
fields cleanup locale function usage (#27227) (#27240) 2023-09-25 00:21:38 +00:00
labels fix: text decorator on issue sidebar menu label (#27206) (#27209) 2023-09-23 20:47:40 +08:00
milestone Simplify helper CSS classes and avoid abuse (#26728) 2023-08-26 01:35:10 +02:00
view_content cleanup locale function usage (#27227) (#27240) 2023-09-25 00:21:38 +00:00
branch_selector_field.tmpl Replace fomantic divider module with our own (#25539) 2023-06-29 20:24:22 +08:00
card.tmpl Refactor project templates (#26448) 2023-08-12 10:30:28 +00:00
choose.tmpl Change green buttons to primary color (#27099) 2023-09-18 22:05:31 +00:00
comment_tab.tmpl cleanup locale function usage (#27227) (#27240) 2023-09-25 00:21:38 +00:00
filters.tmpl Fix dropdown icon position (#27175) (#27177) 2023-09-21 16:24:07 +00:00
label_precolors.tmpl Refactor some CSS styles and simplify code (#26771) 2023-08-28 22:14:51 +08:00
labels.tmpl Change green buttons to primary color (#27099) 2023-09-18 22:05:31 +00:00
list.tmpl Fix dropdown icon position (#27175) (#27177) 2023-09-21 16:24:07 +00:00
milestone_issues.tmpl Change green buttons to primary color (#27099) 2023-09-18 22:05:31 +00:00
milestone_new.tmpl Change green buttons to primary color (#27099) 2023-09-18 22:05:31 +00:00
milestones.tmpl cleanup locale function usage (#27227) (#27240) 2023-09-25 00:21:38 +00:00
navbar.tmpl Fix UI on mobile view (#25315) 2023-06-18 10:31:42 +00:00
new_form.tmpl Change green buttons to primary color (#27099) 2023-09-18 22:05:31 +00:00
new.tmpl Make Issue/PR/projects more compact, misc CSS tweaks (#24459) 2023-05-03 17:58:59 -04:00
openclose.tmpl Make Issue/PR/projects more compact, misc CSS tweaks (#24459) 2023-05-03 17:58:59 -04:00
search.tmpl cleanup locale function usage (#27227) (#27240) 2023-09-25 00:21:38 +00:00
view_content.tmpl cleanup locale function usage (#27227) (#27240) 2023-09-25 00:21:38 +00:00
view_title.tmpl Change green buttons to primary color (#27099) 2023-09-18 22:05:31 +00:00
view.tmpl Make Issue/PR/projects more compact, misc CSS tweaks (#24459) 2023-05-03 17:58:59 -04:00