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
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>
2 years ago
..
admin Use auto-updating, natively hoverable, localized time elements (#23988) 2 years ago
api/packages/pypi Remove incorrect HTML self close tag (#23748) 2 years ago
base Show friendly 500 error page to users and developers (#24110) 2 years ago
code Use data-tooltip-content for tippy tooltip (#23649) 2 years ago
custom Add footer extra links template (#9576) 5 years ago
devtest Refactor locale number (#24134) 2 years ago
explore Use auto-updating, natively hoverable, localized time elements (#23988) 2 years ago
mail Remove incorrect HTML self close tag (#23748) 2 years ago
org Add repository counter badge to repository tab (#24205) 2 years ago
package Remove untranslatable `on_date` key (#24106) 2 years ago
projects Add unset default project column (#23531) 2 years ago
repo Fix issue attachment handling (#24202) 2 years ago
shared Add monospace toggle button to textarea (#24034) 2 years ago
status Show friendly 500 error page to users and developers (#24110) 2 years ago
swagger Add activity feeds API (#23494) 2 years ago
user Add repository counter badge to repository tab (#24205) 2 years ago
home.tmpl Improve home page template, fix Sort dropdown menu flash (#23856) 2 years ago
install.tmpl Remove incorrect HTML self close tag (#23748) 2 years ago
post-install.tmpl Remove incorrect HTML self close tag (#23748) 2 years ago