0
0
mirror of https://github.com/go-gitea/gitea.git synced 2024-11-30 05:50:50 +01:00
gitea/templates/repo/diff
wxiaoguang de2268ffab
Fix issue attachment handling (#24202)
Close #24195

Some of the changes are taken from my another fix
f07b0de997
in #20147 (although that PR was discarded ....)


The bug is:

1. The old code doesn't handle `removedfile` event correctly
2. The old code doesn't provide attachments for type=CommentTypeReview


This PR doesn't intend to refactor the "upload" code to a perfect state
(to avoid making the review difficult), so some legacy styles are kept.

---------

Co-authored-by: silverwind <me@silverwind.io>
Co-authored-by: Giteabot <teabot@gitea.io>
2023-04-20 02:39:44 -04:00
..
blob_excerpt.tmpl
box.tmpl
comment_form_datahandler.tmpl
comment_form.tmpl
comments.tmpl Fix issue attachment handling (#24202) 2023-04-20 02:39:44 -04:00
compare.tmpl
conversation.tmpl
csv_diff.tmpl
escape_title.tmpl
image_diff.tmpl
new_comment.tmpl
new_review.tmpl
options_dropdown.tmpl Expand/Collapse all changed files (#23639) 2023-04-09 21:11:02 +08:00
section_code.tmpl
section_split.tmpl Merge template functions "dict/Dict/mergeinto" (#23932) 2023-04-07 09:39:08 -05:00
section_unified.tmpl Merge template functions "dict/Dict/mergeinto" (#23932) 2023-04-07 09:39:08 -05:00
stats.tmpl Group template helper functions, remove Printf, improve template error messages (#23982) 2023-04-08 21:15:22 +08:00
whitespace_dropdown.tmpl