0
Fork 0
mirror of https://codeberg.org/forgejo/forgejo.git synced 2024-12-23 07:43:18 -05:00
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>
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
explore
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
status
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
install.tmpl Remove utf8 option from installation page (#16126) 2021-06-10 16:52:37 +08:00
post-install.tmpl