forgejo/modules/context
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
..
access_log.go
api.go [refactor] replace int with httpStatusCodes (#15282) 2021-04-05 11:30:52 -04:00
api_org.go
api_test.go
auth.go [refactor] replace int with httpStatusCodes (#15282) 2021-04-05 11:30:52 -04:00
captcha.go
context.go Use route rather than use thus reducing the number of stack frames (#15301) 2021-05-04 22:48:31 +01:00
csrf.go Add SameSite setting for cookies (#14900) 2021-03-07 08:12:43 +00:00
form.go
org.go Unified link creation. (#15619) 2021-04-30 19:25:13 +02:00
pagination.go
permission.go Update docs and comments to remove macaron (#14491) 2021-01-29 16:35:30 +01:00
private.go Update docs and comments to remove macaron (#14491) 2021-01-29 16:35:30 +01:00
repo.go fix some ui bug about draft release (#15137) 2021-05-06 05:12:50 +02:00
response.go Prevent superfluous response.WriteHeader (#15456) 2021-04-14 14:57:18 +02:00
secret.go
xsrf.go
xsrf_test.go