forgejo/templates/repo/diff
Gergely Nagy 6d2df72825
[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)
(cherry picked from commit 957990b36a)
2024-01-28 11:05:33 +01: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-28 10:55:00 +01: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-28 11:05:33 +01: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 Add template linting via djlint (#25212) 2023-06-14 18:17:58 +00:00
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