gitea/routers
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
..
admin Move modules/forms to services/forms (#15305) 2021-04-06 20:44:05 +01:00
api/v1 Use route rather than use thus reducing the number of stack frames (#15301) 2021-05-04 22:48:31 +01:00
dev [refactor] replace int with httpStatusCodes (#15282) 2021-04-05 11:30:52 -04:00
events Code Formats, Nits & Unused Func/Var deletions (#15286) 2021-04-09 09:40:34 +02:00
org Unified link creation. (#15619) 2021-04-30 19:25:13 +02:00
private [refactor] replace int with httpStatusCodes (#15282) 2021-04-05 11:30:52 -04:00
repo fix some ui bug about draft release (#15137) 2021-05-06 05:12:50 +02:00
routes fix some ui bug about draft release (#15137) 2021-05-06 05:12:50 +02:00
user Fixed several activation bugs (#15473) 2021-04-30 22:21:33 +02:00
utils Clarify the suffices and prefixes of setting.AppSubURL and setting.AppURL (#12999) 2021-02-19 22:36:43 +01:00
home.go [refactor] replace int with httpStatusCodes (#15282) 2021-04-05 11:30:52 -04:00
init.go Refactor renders (#15175) 2021-04-19 18:25:08 -04:00
install.go Move modules/forms to services/forms (#15305) 2021-04-06 20:44:05 +01:00
metrics.go Move metrics from macaron to chi (#13601) 2020-11-17 15:50:06 -05:00
swagger_json.go [refactor] replace int with httpStatusCodes (#15282) 2021-04-05 11:30:52 -04:00