forgejo/routers/repo
a1012112796 3088866531
fix some ui bug about draft release (#15137)
* fix some ui bug about draft release

- should not show draft release in tag list because
  it will't create real tag
- still show draft release without tag and commit message
  for draft release instead of 404 error
- remove tag load for attachement links because it's useless

Signed-off-by: a1012112796 <1012112796@qq.com>

* add test code

* fix test

That's because has added a new release in relaese test database.

* fix dropdown link for draft release
2021-05-06 05:12:50 +02:00
..
activity.go [refactor] replace int with httpStatusCodes (#15282) 2021-04-05 11:30:52 -04:00
attachment.go Add ETag header (#15370) 2021-04-12 10:49:26 -04:00
blame.go [refactor] replace int with httpStatusCodes (#15282) 2021-04-05 11:30:52 -04:00
branch.go Move modules/forms to services/forms (#15305) 2021-04-06 20:44:05 +01:00
commit.go [refactor] replace int with httpStatusCodes (#15282) 2021-04-05 11:30:52 -04:00
compare.go Refactor renders (#15175) 2021-04-19 18:25:08 -04:00
download.go Add ETag header (#15370) 2021-04-12 10:49:26 -04:00
editor.go Move modules/forms to services/forms (#15305) 2021-04-06 20:44:05 +01:00
editor_test.go
http.go Fix bug clone wiki (#15499) 2021-04-15 19:57:19 +01:00
issue.go Refactor renders (#15175) 2021-04-19 18:25:08 -04:00
issue_dependency.go
issue_label.go Unified link creation. (#15619) 2021-04-30 19:25:13 +02:00
issue_label_test.go Move modules/forms to services/forms (#15305) 2021-04-06 20:44:05 +01:00
issue_lock.go Move modules/forms to services/forms (#15305) 2021-04-06 20:44:05 +01:00
issue_stopwatch.go Display current stopwatch in navbar (#14122) 2021-01-21 15:51:52 +01:00
issue_test.go Fix bug when combine label comments (#14894) 2021-03-05 16:17:32 +01:00
issue_timetrack.go Move modules/forms to services/forms (#15305) 2021-04-06 20:44:05 +01:00
issue_watch.go [refactor] replace int with httpStatusCodes (#15282) 2021-04-05 11:30:52 -04:00
lfs.go Refactor renders (#15175) 2021-04-19 18:25:08 -04:00
main_test.go
middlewares.go
migrate.go Unified link creation. (#15619) 2021-04-30 19:25:13 +02:00
milestone.go Refactor renders (#15175) 2021-04-19 18:25:08 -04:00
projects.go Refactor renders (#15175) 2021-04-19 18:25:08 -04:00
projects_test.go
pull.go Unified link creation. (#15619) 2021-04-30 19:25:13 +02:00
pull_review.go Move modules/forms to services/forms (#15305) 2021-04-06 20:44:05 +01:00
release.go fix some ui bug about draft release (#15137) 2021-05-06 05:12:50 +02:00
release_test.go Move modules/forms to services/forms (#15305) 2021-04-06 20:44:05 +01:00
repo.go Unified link creation. (#15619) 2021-04-30 19:25:13 +02:00
search.go fix wrong file link in code search page (#15466) 2021-04-14 17:59:42 +02:00
setting.go Unified link creation. (#15619) 2021-04-30 19:25:13 +02:00
setting_protected_branch.go Code Formats, Nits & Unused Func/Var deletions (#15286) 2021-04-09 09:40:34 +02:00
settings_test.go Move modules/forms to services/forms (#15305) 2021-04-06 20:44:05 +01:00
topic.go [refactor] replace int with httpStatusCodes (#15282) 2021-04-05 11:30:52 -04:00
view.go Fix readme render bug (#15649) 2021-04-28 22:22:54 +02:00
webhook.go Move modules/forms to services/forms (#15305) 2021-04-06 20:44:05 +01:00
wiki.go Refactor renders (#15175) 2021-04-19 18:25:08 -04:00
wiki_test.go Move modules/forms to services/forms (#15305) 2021-04-06 20:44:05 +01:00