bench-forgejo/templates
zeripath 1dbc58f742
More pleasantly handle broken or missing git repositories (#17747)
* More pleasantly handle broken or missing git repositories

In #17742 it was noted that there a completely invalid git repository underlying a
repo on gitea.com. This happened due to a problem during a migration however, it
is not beyond the realms of possibility that a corruption could occur to another
user.

This PR adds a check to RepoAssignment that will detect if a repository loading has
failed due to an absent git repository. It will then show a page suggesting the user
contacts the administrator or deletes the repository.

Fix #17742

Signed-off-by: Andrew Thornton <art27@cantab.net>

* Update options/locale/locale_en-US.ini

Co-authored-by: techknowlogick <techknowlogick@gitea.io>

Co-authored-by: techknowlogick <techknowlogick@gitea.io>
2021-11-22 22:32:16 +00:00
..
admin Cleanup and use global style on popups (#17674) 2021-11-18 11:26:50 +08:00
base Cleanup and use global style on popups (#17674) 2021-11-18 11:26:50 +08:00
custom Add footer extra links template (#9576) 2020-01-03 20:41:56 +02:00
explore Multiple Escaping Improvements (#17551) 2021-11-16 18:18:25 +00:00
mail Multiple Escaping Improvements (#17551) 2021-11-16 18:18:25 +00:00
org Remove unnecessary attributes of User struct (#17745) 2021-11-22 23:21:55 +08:00
repo More pleasantly handle broken or missing git repositories (#17747) 2021-11-22 22:32:16 +00:00
shared Cleanup and use global style on popups (#17674) 2021-11-18 11:26:50 +08:00
status Rename StaticUrlPrefix to AssetUrlPrefix (#15779) 2021-05-08 16:27:25 +02:00
swagger Add API to get/edit wiki (#17278) 2021-10-25 11:43:40 +08:00
user Remove unnecessary attributes of User struct (#17745) 2021-11-22 23:21:55 +08:00
home.tmpl Rename StaticUrlPrefix to AssetUrlPrefix (#15779) 2021-05-08 16:27:25 +02:00
install.tmpl Cleanup and use global style on popups (#17674) 2021-11-18 11:26:50 +08:00
post-install.tmpl Rename StaticUrlPrefix to AssetUrlPrefix (#15779) 2021-05-08 16:27:25 +02:00