aboutsummaryrefslogtreecommitdiffstats
path: root/templates/repo/issue/view_content/conversation.tmpl
diff options
context:
space:
mode:
authorwxiaoguang <wxiaoguang@gmail.com>2024-11-07 11:57:07 +0800
committerGitHub <noreply@github.com>2024-11-07 03:57:07 +0000
commit145e26698791221b007c7dd460fb506cb0237235 (patch)
treeceeff90fbc2a1e97d906daa9a8023b399c04dcf8 /templates/repo/issue/view_content/conversation.tmpl
parent276500c314db1c0ef360088753861ffc010a99da (diff)
downloadgitea-145e26698791221b007c7dd460fb506cb0237235.tar.gz
gitea-145e26698791221b007c7dd460fb506cb0237235.zip
Support quote selected comments to reply (#32431)
Many existing tests were quite hacky, these could be improved later. <details> ![image](https://github.com/user-attachments/assets/93aebb4f-9de5-4cb8-910b-50c64cbcd25a) </details>
Diffstat (limited to 'templates/repo/issue/view_content/conversation.tmpl')
-rw-r--r--templates/repo/issue/view_content/conversation.tmpl2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/repo/issue/view_content/conversation.tmpl b/templates/repo/issue/view_content/conversation.tmpl
index fd657fb66a..14803298b8 100644
--- a/templates/repo/issue/view_content/conversation.tmpl
+++ b/templates/repo/issue/view_content/conversation.tmpl
@@ -83,7 +83,7 @@
{{template "repo/issue/view_content/show_role" dict "ShowRole" .ShowRole}}
{{if not $.Repository.IsArchived}}
{{template "repo/issue/view_content/add_reaction" dict "ActionURL" (printf "%s/comments/%d/reactions" $.RepoLink .ID)}}
- {{template "repo/issue/view_content/context_menu" dict "ctxData" $ "item" . "delete" true "issue" true "diff" true "IsCommentPoster" (and $.IsSigned (eq $.SignedUserID .PosterID))}}
+ {{template "repo/issue/view_content/context_menu" dict "item" . "delete" true "issue" true "diff" true "IsCommentPoster" (and $.IsSigned (eq $.SignedUserID .PosterID))}}
{{end}}
</div>
</div>