0
0
mirror of https://github.com/go-gitea/gitea.git synced 2024-12-03 16:39:42 +01:00
gitea/templates/repo/diff
zeripath fd15fd4c67
Handle too long PR titles correctly (#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-25 03:59:27 +01:00
..
blob_excerpt.tmpl
box.tmpl Add Image Diff for SVG files (#14867) 2021-06-05 15:32:19 +03:00
comment_form_datahandler.tmpl
comment_form.tmpl Fix spelling (#16179) 2021-06-16 23:56:43 +02:00
comments.tmpl
compare.tmpl Handle too long PR titles correctly (#16517) 2021-07-25 03:59:27 +01:00
conversation.tmpl Fix previous/next button size (#16284) 2021-06-28 21:36:09 +02:00
csv_diff.tmpl
image_diff.tmpl Add Image Diff for SVG files (#14867) 2021-06-05 15:32:19 +03:00
new_comment.tmpl
new_review.tmpl Add attachments for PR reviews (#16075) 2021-06-14 21:12:33 -04:00
options_dropdown.tmpl
section_split.tmpl
section_unified.tmpl
stats.tmpl
whitespace_dropdown.tmpl