forgejo-federation/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>
2021-08-05 21:13:16 -04:00
..
admin Add microsoft oauth2 providers (#16544) 2021-08-05 21:11:08 -04:00
base Make Mermaid.js limit configurable (#16519) 2021-07-24 00:21:51 -04:00
custom Add footer extra links template (#9576) 2020-01-03 20:41:56 +02:00
explore Issue sidebar and misc css fixes (#15524) 2021-05-16 22:18:18 +02:00
mail Use TrN helper for email templates (#16425) 2021-07-14 15:06:09 +02:00
org Add support for corporate WeChat webhooks (#15910) 2021-07-23 12:41:27 +08:00
repo Prevent 500 on draft releases without tag (#16634) 2021-08-05 21:13:16 -04:00
shared Remove branch URL before IssueRefURL (#15968) 2021-05-25 16:02:37 -04:00
status Rename StaticUrlPrefix to AssetUrlPrefix (#15779) 2021-05-08 16:27:25 +02:00
swagger Swagger AccessToken fixes (#16574) 2021-08-01 16:44:15 -04:00
user Refactor: Move login out of models (#16199) 2021-07-24 11:16:34 +01:00
home.tmpl Rename StaticUrlPrefix to AssetUrlPrefix (#15779) 2021-05-08 16:27:25 +02:00
install.tmpl Remove utf8 option from installation page (#16126) 2021-06-10 16:52:37 +08:00
post-install.tmpl Rename StaticUrlPrefix to AssetUrlPrefix (#15779) 2021-05-08 16:27:25 +02:00