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>
2021-07-26 17:49:48 +02: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 Add footer extra links template (#9576) 2020-01-03 20:41:56 +02:00
explore Issue sidebar and misc css fixes (#15524) 2021-05-16 22:18:18 +02:00
mail Use TrN helper for email templates (#16425) 2021-07-14 15:06:09 +02:00
org Rename StaticUrlPrefix to AssetUrlPrefix (#15779) 2021-05-08 16:27:25 +02:00
repo Handle too long PR titles correctly (#16517) (#16549) 2021-07-26 17:49:48 +02:00
shared Remove branch URL before IssueRefURL (#15968) 2021-05-25 16:02:37 -04:00
status Rename StaticUrlPrefix to AssetUrlPrefix (#15779) 2021-05-08 16:27:25 +02:00
swagger Add option to provide signature for a token to verify key ownership (#14054) 2021-07-13 15:28:07 +02:00
user Update notification table with only latest data (#16445) (#16469) 2021-07-17 19:05:59 +02:00
home.tmpl Rename StaticUrlPrefix to AssetUrlPrefix (#15779) 2021-05-08 16:27:25 +02:00
install.tmpl Remove utf8 option from installation page (#16126) 2021-06-10 16:52:37 +08:00
post-install.tmpl Rename StaticUrlPrefix to AssetUrlPrefix (#15779) 2021-05-08 16:27:25 +02:00