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