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
attachment.go
blame.go
branch.go
commit.go
compare.go Refactor renders (#15175) 2021-04-19 18:25:08 -04:00
download.go
editor.go
editor_test.go
http.go
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
issue_lock.go
issue_stopwatch.go
issue_test.go
issue_timetrack.go
issue_watch.go
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
release.go fix some ui bug about draft release (#15137) 2021-05-06 05:12:50 +02:00
release_test.go
repo.go Unified link creation. (#15619) 2021-04-30 19:25:13 +02:00
search.go
setting.go Unified link creation. (#15619) 2021-04-30 19:25:13 +02:00
setting_protected_branch.go
settings_test.go
topic.go
view.go Fix readme render bug (#15649) 2021-04-28 22:22:54 +02:00
webhook.go
wiki.go Refactor renders (#15175) 2021-04-19 18:25:08 -04:00
wiki_test.go