forgejo/templates
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
..
admin
api/packages/pypi
base Show friendly 500 error page to users and developers (#24110) 2023-04-14 13:19:11 +08:00
code
custom
devtest Refactor locale number (#24134) 2023-04-17 11:37:23 +08:00
explore
mail
org Add repository counter badge to repository tab (#24205) 2023-04-19 14:58:36 -04:00
package Remove untranslatable on_date key (#24106) 2023-04-15 13:01:54 +02:00
projects Add unset default project column (#23531) 2023-04-19 10:28:28 -04:00
repo Fix issue attachment handling (#24202) 2023-04-20 02:39:44 -04:00
shared
status Show friendly 500 error page to users and developers (#24110) 2023-04-14 13:19:11 +08:00
swagger
user Add repository counter badge to repository tab (#24205) 2023-04-19 14:58:36 -04:00
home.tmpl
install.tmpl
post-install.tmpl