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 Fix more "locale" usages (#27259) 2023-09-25 20:42:40 +08:00
box.tmpl [GITEA] pulls: "Edit File" button in "Files Changed" tab 2024-01-22 18:13:42 +00:00
comment_form.tmpl Always use ctx.Locale.Tr inside templates (#27231) 2023-09-25 08:56:50 +00:00
comment_form_datahandler.tmpl
comments.tmpl Fix more "locale" usages (#27259) 2023-09-25 20:42:40 +08:00
compare.tmpl [GITEA] Fix misleading comparisons when comparing branches 2024-01-22 18:13:43 +00:00
conversation.tmpl Always use ctx.Locale.Tr inside templates (#27231) 2023-09-25 08:56:50 +00:00
csv_diff.tmpl
escape_title.tmpl cleanup locale function usage (#27227) 2023-09-24 20:31:58 +00:00
image_diff.tmpl Replace ajax with fetch, improve image diff (#27267) 2023-10-11 12:34:21 +00:00
new_comment.tmpl
new_review.tmpl Always use ctx.Locale.Tr inside templates (#27231) 2023-09-25 08:56:50 +00:00
options_dropdown.tmpl Always use ctx.Locale.Tr inside templates (#27231) 2023-09-25 08:56:50 +00:00
section_code.tmpl
section_split.tmpl Refactor template empty checks (#28351) 2023-12-04 15:48:42 -06:00
section_unified.tmpl Refactor template empty checks (#28351) 2023-12-04 15:48:42 -06:00
stats.tmpl Always use ctx.Locale.Tr inside templates (#27231) 2023-09-25 08:56:50 +00:00
whitespace_dropdown.tmpl Fix more "locale" usages (#27259) 2023-09-25 20:42:40 +08:00