]> source.dussan.org Git - gitea.git/commit
Fix `.locale.Tr` function not found in delete modal (#23468)
authordelvh <dev.lh@web.de>
Tue, 21 Mar 2023 00:41:57 +0000 (01:41 +0100)
committerGitHub <noreply@github.com>
Tue, 21 Mar 2023 00:41:57 +0000 (20:41 -0400)
commit6250fe1dc15eccc18cdc4261e354c1c77f0a7fca
tree9a2340f98a9bf7ed2d055197f223103592cd1af6
parentf83246edb263c039904ee9723f5dfc2a46f2259f
Fix `.locale.Tr` function not found in delete modal (#23468)

Caught by @wxiaoguang in
https://github.com/go-gitea/gitea/pull/23337#issuecomment-1467317742.

Additionally, there were three instances that have the same content as `templates/base/deletion_modal_actions.tmpl` but that are not intended to delete something.
Instead of renaming the template above, these instances were simply re-hard-coded again.
Renaming/improving the template above is left for future PRs.
templates/admin/repo/unadopted.tmpl
templates/user/settings/repos.tmpl