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.
gitea/templates
赵智超 821570c0b0
Fix to allow comment poster to edit or delete his own comments (#11671) (#11774)
* 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>

Co-authored-by: zeripath <art27@cantab.net>
Co-authored-by: Lauris BH <lauris@nix.lv>
5 years ago
..
admin Add missing templates (#11729) (#11748) 5 years ago
base When must change password only show Signout (#11600) (#11637) 5 years ago
custom Add footer extra links template (#9576) 5 years ago
explore Ensure search action button coalesced to adjacent input (#11385) 5 years ago
mail Style blockquote for default issue mail template (#10024) 5 years ago
org Add missing templates (#11729) (#11748) 5 years ago
pwa Move serviceworker to workbox and fix SSE interference (#11538) (#11547) 5 years ago
repo Fix to allow comment poster to edit or delete his own comments (#11671) (#11774) 5 years ago
status Make error pages translatable (#11163) 5 years ago
swagger Handle expected errors in FileCreate & FileUpdate API (#11643) (#11718) 5 years ago
user Fix repo-list private and total count bugs (#11500) (#11532) 5 years ago
home.tmpl Add Octicon SVG spritemap (#10107) 5 years ago
install.tmpl Change default charset for MySQL on install to utf8mb4 (#10989) 5 years ago