diff options
author | Lauris BH <lauris@nix.lv> | 2021-01-17 19:29:10 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-01-17 19:29:10 +0200 |
commit | ca63a9d3f1120d8c76eb83ff1fd07e0992a683a8 (patch) | |
tree | dbf4c75686909e75a90d819cb5590d79001466bd /templates/repo/diff/comments.tmpl | |
parent | acb1ceb1f426e87e7f821c01ab5b60dad7abc03d (diff) | |
download | gitea-ca63a9d3f1120d8c76eb83ff1fd07e0992a683a8.tar.gz gitea-ca63a9d3f1120d8c76eb83ff1fd07e0992a683a8.zip |
Add edit, delete and reaction support to code review comments on issue page (#14339)
Diffstat (limited to 'templates/repo/diff/comments.tmpl')
-rw-r--r-- | templates/repo/diff/comments.tmpl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/repo/diff/comments.tmpl b/templates/repo/diff/comments.tmpl index 59bc89b79e..36e7259360 100644 --- a/templates/repo/diff/comments.tmpl +++ b/templates/repo/diff/comments.tmpl @@ -47,7 +47,7 @@ {{end}} {{end}} {{template "repo/issue/view_content/add_reaction" Dict "ctx" $.root "ActionURL" (Printf "%s/comments/%d/reactions" $.root.RepoLink .ID) }} - {{template "repo/issue/view_content/context_menu" Dict "ctx" $.root "item" . "delete" true "diff" true "IsCommentPoster" (and $.root.IsSigned (eq $.root.SignedUserID .PosterID))}} + {{template "repo/issue/view_content/context_menu" Dict "ctx" $.root "item" . "delete" true "issue" false "diff" true "IsCommentPoster" (and $.root.IsSigned (eq $.root.SignedUserID .PosterID))}} </div> </div> <div class="ui attached segment comment-body"> |