summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoryp05327 <576951401@qq.com>2023-05-22 18:46:50 +0900
committerGitHub <noreply@github.com>2023-05-22 09:46:50 +0000
commitf4ef7eed0072d037c3a211af36ccc9f4e11d0014 (patch)
tree7ae2587d90f0ff3b771867383525749c5f8fcffb
parentbb9e20e4343db6b60f2611555dc9d867d5a8043e (diff)
downloadgitea-f4ef7eed0072d037c3a211af36ccc9f4e11d0014.tar.gz
gitea-f4ef7eed0072d037c3a211af36ccc9f4e11d0014.zip
Fix missing yes/no in delete time log modal (#24851)
Before: ![image](https://github.com/go-gitea/gitea/assets/18380374/bcbcddcc-b328-4751-92fe-6e55b7a84671) After: ![image](https://github.com/go-gitea/gitea/assets/18380374/571ef27a-2411-472e-819d-f694e7be3697) Co-authored-by: Giteabot <teabot@gitea.io>
-rw-r--r--templates/repo/issue/view_content/comments_delete_time.tmpl2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/repo/issue/view_content/comments_delete_time.tmpl b/templates/repo/issue/view_content/comments_delete_time.tmpl
index d86cc52d3a..cbfb1144fd 100644
--- a/templates/repo/issue/view_content/comments_delete_time.tmpl
+++ b/templates/repo/issue/view_content/comments_delete_time.tmpl
@@ -7,7 +7,7 @@
{{.ctxData.CsrfTokenHtml}}
</form>
<div class="header">{{.ctxData.locale.Tr "repo.issues.del_time"}}</div>
- {{template "base/modal_actions_confirm" .}}
+ {{template "base/modal_actions_confirm" (dict "locale" .ctxData.locale)}}
</div>
<button class="ui icon button compact mini issue-delete-time" data-id="{{.comment.Time.ID}}" data-tooltip-content="{{.ctxData.locale.Tr "repo.issues.del_time"}}">
{{svg "octicon-trash"}}