forgejo/templates/repo
Gergely Nagy 69688628f5
[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)
(cherry picked from commit 6d2df72825)
2024-02-05 16:09:43 +01:00
..
actions
branch
cite
code [GITEA] Rework when recently pushed branches are displayed 2024-02-05 16:09:43 +01:00
diff [GITEA] Fix misleading comparisons when comparing branches 2024-02-05 16:09:43 +01:00
editor [GITEA] Allow user to select email for file operations in Web UI 2024-02-05 16:09:41 +01:00
find
graph
issue
migrate [SHARED] make confirmation clearer for dangerous actions 2024-02-05 15:07:49 +01:00
projects
pulls
release
settings [GITEA] Optionally allow anyone to edit Wikis 2024-02-05 16:09:42 +01:00
tag
wiki [GITEA] Add cancel button to wiki 2024-02-05 16:09:40 +01:00
activity.tmpl
admin_flags.tmpl [FEAT] Repository flags 2024-02-05 16:09:42 +01:00
blame.tmpl
branch_dropdown.tmpl
clone_buttons.tmpl
clone_script.tmpl [GITEA] Configurable clone methods 2024-02-05 16:09:42 +01:00
commit_load_branches_and_tags.tmpl
commit_page.tmpl
commit_status.tmpl
commit_statuses.tmpl
commits.tmpl [GITEA] Detect file rename and show in history 2024-02-05 16:09:40 +01:00
commits_list.tmpl
commits_list_small.tmpl
commits_table.tmpl
create.tmpl
create_helper.tmpl
empty.tmpl
file_info.tmpl
flags.tmpl [FEAT] Repository flags 2024-02-05 16:09:42 +01:00
forks.tmpl
graph.tmpl
header.tmpl [FEAT] Repository flags 2024-02-05 16:09:42 +01:00
home.tmpl [FEAT] Repository flags 2024-02-05 16:09:42 +01:00
icon.tmpl
latest_commit.tmpl
packages.tmpl
release_tag_header.tmpl
search.tmpl
search_name.tmpl
shabox_badge.tmpl
star_unstar.tmpl
sub_menu.tmpl
unicode_escape_prompt.tmpl
upload.tmpl
user_cards.tmpl
view_file.tmpl [GITEA] Disable the RSS feed in file view for non-branches 2024-02-05 16:09:42 +01:00
view_list.tmpl
watch_unwatch.tmpl
watchers.tmpl