You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
赵智超 17f8de7a54
Fix to allow comment poster to edit or delete his own comments (#11671)
* bug: fix comment update permision check

No the ui only allow poster to update or delet comment, which
is not reasonable and different with handle logic, this pr
change it to allow poster of comment do it

ref code:
e8955173a9/routers/repo/issue.go (L1636)

e8955173a9/routers/repo/issue.go (L1681)

fix #11663

Signed-off-by: a1012112796 <1012112796@qq.com>

* simplify code

* fix sign in

Co-authored-by: zeripath <art27@cantab.net>
Co-authored-by: Lauris BH <lauris@nix.lv>
4 years ago
..
blob_excerpt.tmpl Fix and simplify some tmpl conditions (#11080) 4 years ago
box.tmpl Support view individual commit for wiki pages (#11415) 4 years ago
comment_form.tmpl Fix .comment-code-cloud not being removed when cancelling new code comment (#11464) 4 years ago
comment_form_datahandler.tmpl Pull request review/approval and comment on code (#3748) 6 years ago
comments.tmpl Fix to allow comment poster to edit or delete his own comments (#11671) 4 years ago
compare.tmpl Allow compare page to look up base, head, own-fork, forkbase-of-head (#11327) 4 years ago
image_diff.tmpl Bugfix for image compare and minor improvements to image compare (#8289) 5 years ago
new_comment.tmpl Pull request review/approval and comment on code (#3748) 6 years ago
new_review.tmpl Fix submit review form (#11252) 4 years ago
options_dropdown.tmpl Support view individual commit for wiki pages (#11415) 4 years ago
section_unified.tmpl Better styling for code review comment form (#11413) 4 years ago
whitespace_dropdown.tmpl Add whitespace handling to PR-comparsion (#4683) 6 years ago