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/repo
赵智超 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
..
branch Allow unauthenticated users to compare (#11240) 5 years ago
diff Fix to allow comment poster to edit or delete his own comments (#11671) (#11774) 5 years ago
editor Allow different HardBreaks settings for documents and comments (#11515) (#11599) 5 years ago
issue Fix to allow comment poster to edit or delete his own comments (#11671) (#11774) 5 years ago
pulls Prettify timeline 3 (#11139) 5 years ago
release Prettify timeline 3 (#11139) 5 years ago
settings Fix webhook template when validation errors occur (#11421) 5 years ago
wiki Fix images in wiki edit preview (#11546) (#11602) 5 years ago
activity.tmpl Remove last traces of has-emoji class (#11263) 5 years ago
blame.tmpl Remove last traces of has-emoji class (#11263) 5 years ago
branch_dropdown.tmpl Add Octicon SVG spritemap (#10107) 5 years ago
commit_page.tmpl Fix styling for commiter on diff view (#11715) (#11744) 5 years ago
commit_status.tmpl UI: Fix overflow issues in repo (#7190) 6 years ago
commits.tmpl Add Octicon SVG spritemap (#10107) 5 years ago
commits_list.tmpl Support view individual commit for wiki pages (#11415) 5 years ago
commits_table.tmpl Add Octicon SVG spritemap (#10107) 5 years ago
create.tmpl Fix creation of Organization repos by Users with max created personal repos (#11183) 5 years ago
empty.tmpl Option to set default branch at repository creation (#10803) 5 years ago
forks.tmpl #3348 always use relative avatar link in the template 9 years ago
graph.tmpl Remove last traces of has-emoji class (#11263) 5 years ago
header.tmpl Fix forked repo has no icon and language stat. (#10791) 5 years ago
home.tmpl Allow unauthenticated users to compare (#11240) 5 years ago
migrate.tmpl Improve migrations to support migrating milestones/labels/issues/comments/pullrequests (#6290) 6 years ago
migrating.tmpl [assets] configurable URL for static resources (#7911) 5 years ago
search.tmpl ui: fix status label on branches list vertical alignment (#11109) 5 years ago
sub_menu.tmpl Tweak language stats bar (#10487) 5 years ago
user_cards.tmpl Add Octicon SVG spritemap (#10107) 5 years ago
view_file.tmpl Remove last traces of has-emoji class (#11263) 5 years ago
view_list.tmpl Remove last traces of has-emoji class (#11263) 5 years ago
watchers.tmpl #1692 APIs: Users Followers 9 years ago