forgejo/templates/repo
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
..
branch Add possibility to make branch in branch page (#15960) 2021-05-24 15:57:46 +01:00
diff Handle too long PR titles correctly (#16517) 2021-07-25 03:59:27 +01:00
editor Add attachments for PR reviews (#16075) 2021-06-14 21:12:33 -04:00
graph
issue Add agit flow support in gitea (#14295) 2021-07-28 17:42:56 +08:00
migrate Add button to delete undeleted repositories from failed migrations (#16197) 2021-06-30 21:14:53 +02:00
projects remove unimplemented searchbar from project view (#15901) 2021-05-17 02:10:30 +02:00
pulls
release Prevent 500 on draft releases without tag (#16634) 2021-08-05 21:13:16 -04:00
settings Add support for corporate WeChat webhooks (#15910) 2021-07-23 12:41:27 +08:00
wiki
activity.tmpl
blame.tmpl Link to previous blames in file blame page (#16259) 2021-06-28 01:13:20 +02:00
branch_dropdown.tmpl Fix extra curly brace breaking release compare (#15988) 2021-05-26 21:07:39 -04:00
clone_buttons.tmpl Replace clipboard.js with async clipboard api (#15899) 2021-05-30 20:15:57 +01:00
commit_page.tmpl
commit_status.tmpl
commit_statuses.tmpl
commits.tmpl
commits_list.tmpl
commits_list_small.tmpl
commits_table.tmpl Show correct text when comparing commits on empty pull request (#16569) 2021-07-29 03:32:48 +01:00
create.tmpl not show link to migration on repo reate page when it was disabled (#15957) 2021-05-26 12:13:00 -04:00
empty.tmpl Fix default push instructions on empty repos (#16302) 2021-06-30 20:40:51 +02:00
forks.tmpl
graph.tmpl
header.tmpl Add push to remote mirror repository (#15157) 2021-06-14 19:20:43 +02:00
home.tmpl
icon.tmpl
search.tmpl
shabox_badge.tmpl
sub_menu.tmpl
upload.tmpl Add attachments for PR reviews (#16075) 2021-06-14 21:12:33 -04:00
user_cards.tmpl
view_file.tmpl Fix and restyle menu on code line (#15913) 2021-05-18 23:16:02 -04:00
view_list.tmpl
watchers.tmpl