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.
forgejo/templates
zeripath 067d82b5a6
Prevent 500 on draft releases without tag (#16634)
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>
3 years ago
..
admin Add microsoft oauth2 providers (#16544) 3 years ago
base Make Mermaid.js limit configurable (#16519) 3 years ago
custom Add footer extra links template (#9576) 5 years ago
explore Issue sidebar and misc css fixes (#15524) 3 years ago
mail Use TrN helper for email templates (#16425) 3 years ago
org Add support for corporate WeChat webhooks (#15910) 3 years ago
repo Prevent 500 on draft releases without tag (#16634) 3 years ago
shared Remove branch URL before IssueRefURL (#15968) 3 years ago
status Rename StaticUrlPrefix to AssetUrlPrefix (#15779) 3 years ago
swagger Swagger AccessToken fixes (#16574) 3 years ago
user Refactor: Move login out of models (#16199) 3 years ago
home.tmpl Rename StaticUrlPrefix to AssetUrlPrefix (#15779) 3 years ago
install.tmpl Remove utf8 option from installation page (#16126) 3 years ago
post-install.tmpl Rename StaticUrlPrefix to AssetUrlPrefix (#15779) 3 years ago