You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gitea/templates
zeripath 693275455e
Handle too long PR titles correctly (#16517) (#16549)
Backport #16517

The CompareAndPullRequestPost handler for POST to /compare
incorrectly handles returning errors to the user. For a start
it does not set the necessary markers to switch SimpleMDE
but it also does not immediately return to the form.

This PR fixes this by setting the appropriate values, fixing
the templates and preventing the suggestion of a too long
title.

Fix #16507

Signed-off-by: Andrew Thornton <art27@cantab.net>
4 years ago
..
admin Make allowed Visiblity modes configurable for Users (#16271) 4 years ago
base Add custom emoji support (#16004) 4 years ago
custom Add footer extra links template (#9576) 5 years ago
explore Issue sidebar and misc css fixes (#15524) 4 years ago
mail Use TrN helper for email templates (#16425) 4 years ago
org Rename StaticUrlPrefix to AssetUrlPrefix (#15779) 4 years ago
repo Handle too long PR titles correctly (#16517) (#16549) 4 years ago
shared Remove branch URL before IssueRefURL (#15968) 4 years ago
status Rename StaticUrlPrefix to AssetUrlPrefix (#15779) 4 years ago
swagger Add option to provide signature for a token to verify key ownership (#14054) 4 years ago
user Update notification table with only latest data (#16445) (#16469) 4 years ago
home.tmpl Rename StaticUrlPrefix to AssetUrlPrefix (#15779) 4 years ago
install.tmpl Remove utf8 option from installation page (#16126) 4 years ago
post-install.tmpl Rename StaticUrlPrefix to AssetUrlPrefix (#15779) 4 years ago