diff options
author | KN4CK3R <KN4CK3R@users.noreply.github.com> | 2021-05-23 16:14:03 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-05-23 17:14:03 +0300 |
commit | 6021fbfe7a4e73c209eeea514a929fcb5598d63e (patch) | |
tree | 0058ceeaa2df9d20655aae7ad78c82f3e0f7623e /templates/repo/diff | |
parent | b4d10598c9be1ba8008c5a47ef1cd3612e99331a (diff) | |
download | gitea-6021fbfe7a4e73c209eeea514a929fcb5598d63e.tar.gz gitea-6021fbfe7a4e73c209eeea514a929fcb5598d63e.zip |
Make tasklist checkboxes clickable (#15791)
Co-authored-by: silverwind <me@silverwind.io>
Co-authored-by: Lauris BH <lauris@nix.lv>
Diffstat (limited to 'templates/repo/diff')
-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 c55da8576e..86e314dc50 100644 --- a/templates/repo/diff/comments.tmpl +++ b/templates/repo/diff/comments.tmpl @@ -51,7 +51,7 @@ </div> </div> <div class="ui attached segment comment-body"> - <div class="render-content markup"> + <div class="render-content markup" {{if or $.Permission.IsAdmin $.HasIssuesOrPullsWritePermission (and $.root.IsSigned (eq $.root.SignedUserID .PosterID))}}data-can-edit="true"{{end}}> {{if .RenderedContent}} {{.RenderedContent|Str2html}} {{else}} |