forgejo/templates/repo/diff
Gergely Nagy 957990b36a
[GITEA] Fix misleading comparisons when comparing branches
When comparing branches, only offer those branches to use as a base
where the repository allows pull requests. Those that do not allow pull
request would result in a 404, so offering them as an option would be
misleading.

Refs: https://codeberg.org/forgejo/forgejo/pulls/2194

Signed-off-by: Gergely Nagy <forgejo@gergo.csillger.hu>
(cherry picked from commit 022d0e0d71)
2024-01-22 18:13:43 +00:00
..
blob_excerpt.tmpl
box.tmpl
comment_form.tmpl
comment_form_datahandler.tmpl
comments.tmpl
compare.tmpl [GITEA] Fix misleading comparisons when comparing branches 2024-01-22 18:13:43 +00:00
conversation.tmpl
csv_diff.tmpl
escape_title.tmpl
image_diff.tmpl
new_comment.tmpl
new_review.tmpl
options_dropdown.tmpl
section_code.tmpl
section_split.tmpl
section_unified.tmpl
stats.tmpl
whitespace_dropdown.tmpl