You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gitea/templates
techknowlogick 20601f8463
Prevent 500 on draft releases without tag (#16634) (#16636)
It is possible to create draft releases prior to creating a tag. This will cause a
500 on the releases page due to compare page failing.

This PR only shows the compare button if there is a SHA1 present.

Fix #16610

Signed-off-by: Andrew Thornton <art27@cantab.net>

Co-authored-by: Lauris BH <lauris@nix.lv>
Co-authored-by: techknowlogick <techknowlogick@gitea.io>

Co-authored-by: zeripath <art27@cantab.net>
Co-authored-by: Lauris BH <lauris@nix.lv>
4 years ago
..
admin Make allowed Visiblity modes configurable for Users (#16271) 4 years ago
base Add custom emoji support (#16004) 4 years ago
custom Add footer extra links template (#9576) 5 years ago
explore Issue sidebar and misc css fixes (#15524) 4 years ago
mail Use TrN helper for email templates (#16425) 4 years ago
org Rename StaticUrlPrefix to AssetUrlPrefix (#15779) 4 years ago
repo Prevent 500 on draft releases without tag (#16634) (#16636) 4 years ago
shared Remove branch URL before IssueRefURL (#15968) 4 years ago
status Rename StaticUrlPrefix to AssetUrlPrefix (#15779) 4 years ago
swagger Swagger AccessToken fixes (#16574) (#16597) 4 years ago
user Update notification table with only latest data (#16445) (#16469) 4 years ago
home.tmpl Rename StaticUrlPrefix to AssetUrlPrefix (#15779) 4 years ago
install.tmpl Remove utf8 option from installation page (#16126) 4 years ago
post-install.tmpl Rename StaticUrlPrefix to AssetUrlPrefix (#15779) 4 years ago