0
0
Fork 0
mirror of https://github.com/go-gitea/gitea synced 2024-08-21 01:35:00 +02:00
gitea/templates/repo
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
..
actions Add runner check in repo action page (#24124) 2023-04-19 20:51:20 +08:00
branch Use a general Eval function for expressions in templates. (#23927) 2023-04-07 21:25:49 +08:00
cite
diff Fix issue attachment handling (#24202) 2023-04-20 02:39:44 -04:00
editor Allow adding new files to an empty repo (#24164) 2023-04-19 21:40:42 +08:00
find
graph Use a general Eval function for expressions in templates. (#23927) 2023-04-07 21:25:49 +08:00
issue Fix issue attachment handling (#24202) 2023-04-20 02:39:44 -04:00
migrate Group template helper functions, remove Printf, improve template error messages (#23982) 2023-04-08 21:15:22 +08:00
projects Add unset default project column (#23531) 2023-04-19 10:28:28 -04:00
pulls Discolor pull request tab labels (#23950) 2023-04-07 15:12:45 -04:00
release Refactor locale number (#24134) 2023-04-17 11:37:23 +08:00
settings Use auto-updating, natively hoverable, localized time elements (#23988) 2023-04-11 01:01:20 +02:00
wiki Make wiki title supports dashes and improve wiki name related features (#24143) 2023-04-19 13:50:10 -04:00
activity.tmpl Use auto-updating, natively hoverable, localized time elements (#23988) 2023-04-11 01:01:20 +02:00
blame.tmpl
branch_dropdown.tmpl
clone_buttons.tmpl Clean template/helper.go (#23922) 2023-04-07 03:31:41 -04:00
clone_script.tmpl Clean template/helper.go (#23922) 2023-04-07 03:31:41 -04:00
commit_page.tmpl
commit_status.tmpl
commit_statuses.tmpl
commits.tmpl
commits_list.tmpl
commits_list_small.tmpl Use a general Eval function for expressions in templates. (#23927) 2023-04-07 21:25:49 +08:00
commits_table.tmpl
create.tmpl Make label templates have consistent behavior and priority (#23749) 2023-04-10 16:44:02 +08:00
create_helper.tmpl
empty.tmpl Allow adding new files to an empty repo (#24164) 2023-04-19 21:40:42 +08:00
file_info.tmpl
forks.tmpl
graph.tmpl
header.tmpl
home.tmpl Allow adding new files to an empty repo (#24164) 2023-04-19 21:40:42 +08:00
icon.tmpl
packages.tmpl
search.tmpl
search_name.tmpl Clean template/helper.go (#23922) 2023-04-07 03:31:41 -04:00
shabox_badge.tmpl
sub_menu.tmpl Refactor locale number (#24134) 2023-04-17 11:37:23 +08:00
unicode_escape_prompt.tmpl
upload.tmpl
user_cards.tmpl Use auto-updating, natively hoverable, localized time elements (#23988) 2023-04-11 01:01:20 +02:00
view_file.tmpl Use a general Eval function for expressions in templates. (#23927) 2023-04-07 21:25:49 +08:00
view_list.tmpl
watchers.tmpl