diff options
author | 6543 <6543@obermui.de> | 2019-12-28 00:43:56 +0100 |
---|---|---|
committer | techknowlogick <techknowlogick@gitea.io> | 2019-12-27 18:43:56 -0500 |
commit | 4ee97465e97ae6b9d3ac6ea57246f67715246afe (patch) | |
tree | e332e1e4c954536e393eb33eb85073f26687bd6b /templates/repo/issue/view_content/comments.tmpl | |
parent | e64880ef0767a6921498401e041bf9ad8dfa9a6f (diff) | |
download | gitea-4ee97465e97ae6b9d3ac6ea57246f67715246afe.tar.gz gitea-4ee97465e97ae6b9d3ac6ea57246f67715246afe.zip |
[Fix] AllowedReaction code (#9518)
* optimize
* CI.restart()
Co-authored-by: techknowlogick <matti@mdranta.net>
Co-authored-by: zeripath <art27@cantab.net>
Diffstat (limited to 'templates/repo/issue/view_content/comments.tmpl')
-rw-r--r-- | templates/repo/issue/view_content/comments.tmpl | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/templates/repo/issue/view_content/comments.tmpl b/templates/repo/issue/view_content/comments.tmpl index 170379bb7f..9a9bb6b8d4 100644 --- a/templates/repo/issue/view_content/comments.tmpl +++ b/templates/repo/issue/view_content/comments.tmpl @@ -37,7 +37,7 @@ {{end}} </div> {{end}} - {{template "repo/issue/view_content/add_reaction" Dict "ctx" $ "ActionURL" (Printf "%s/comments/%d/reactions" $.RepoLink .ID) "AllowedReactions" $.AllowedReactions}} + {{template "repo/issue/view_content/add_reaction" Dict "ctx" $ "ActionURL" (Printf "%s/comments/%d/reactions" $.RepoLink .ID)}} {{template "repo/issue/view_content/context_menu" Dict "ctx" $ "item" . "delete" true "diff" false }} </div> {{end}} @@ -56,7 +56,7 @@ {{$reactions := .Reactions.GroupByType}} {{if $reactions}} <div class="ui attached segment reactions"> - {{template "repo/issue/view_content/reactions" Dict "ctx" $ "ActionURL" (Printf "%s/comments/%d/reactions" $.RepoLink .ID) "Reactions" $reactions "AllowedReactions" $.AllowedReactions}} + {{template "repo/issue/view_content/reactions" Dict "ctx" $ "ActionURL" (Printf "%s/comments/%d/reactions" $.RepoLink .ID) "Reactions" $reactions}} </div> {{end}} {{if .Attachments}} |