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>
2021-08-06 11:09:33 +03:00
..
admin Make allowed Visiblity modes configurable for Users (#16271) 2021-06-27 19:47:35 +01:00
base Add custom emoji support (#16004) 2021-06-29 16:28:38 +02:00
custom
explore
mail Use TrN helper for email templates (#16425) 2021-07-14 15:06:09 +02:00
org
repo Prevent 500 on draft releases without tag (#16634) (#16636) 2021-08-06 11:09:33 +03:00
shared
status
swagger Swagger AccessToken fixes (#16574) (#16597) 2021-08-02 20:24:47 +02:00
user Update notification table with only latest data (#16445) (#16469) 2021-07-17 19:05:59 +02:00
home.tmpl
install.tmpl
post-install.tmpl