gitea/templates/repo
Giteabot 27a4c67992
Don't include link of deleted branch when listing branches (#31028) (#31032)
Backport #31028 by @kemzeb

From
https://github.com/go-gitea/gitea/issues/31018#issuecomment-2119622680.

This commit removes the link to a deleted branch name because it returns
a 404 while it is in this deleted state. GitHub also throws a 404 when
navigating to a branch link that was just deleted, but this deleted
branch is removed from the branch list after a page refresh. Since with
Gitea this deleted branch would be kept around for quite some time
(well, until the "cleanup deleted branches" cron job begins), it makes
sense to not have this as a link that users can navigate to.

Co-authored-by: Kemal Zebari <60799661+kemzeb@users.noreply.github.com>
2024-05-21 15:51:36 +08:00
..
actions Improve job commit description (#30579) 2024-04-26 02:22:45 +00:00
branch Don't include link of deleted branch when listing branches (#31028) (#31032) 2024-05-21 15:51:36 +08:00
cite
code
diff Fix incorrect "blob excerpt" link when comparing files (#31013) (#31026) 2024-05-20 07:40:14 +00:00
editor Put web editor into a segment (#30966) (#30993) 2024-05-16 07:03:45 +00:00
find
graph Refactor web routes (#30519) 2024-04-17 08:31:37 +00:00
issue Fix JS error when editing a merged PR's title (#30990) (#31001) 2024-05-17 01:07:09 +00:00
migrate Fix "force private" logic (#31012) (#31021) 2024-05-20 10:27:52 +08:00
projects
pulls Improve diff stats bar (#30669) 2024-04-27 11:22:55 +00:00
release Restyle release list, fix branch dropdown (#30837) (#30968) 2024-05-13 22:00:52 +00:00
settings Fix "force private" logic (#31012) (#31021) 2024-05-20 10:27:52 +08:00
tag Restyle release list, fix branch dropdown (#30837) (#30968) 2024-05-13 22:00:52 +00:00
wiki
activity.tmpl
blame.tmpl Fix border-radius on view, blame and code search (#30545) 2024-04-18 08:34:23 +00:00
branch_dropdown.tmpl Fix some UI problems (dropdown/container) (#30849) (#30871) 2024-05-06 07:45:04 +00:00
clone_buttons.tmpl Improve repo button row layout (#30668) (#30839) 2024-05-02 19:38:37 +00:00
clone_script.tmpl
code_frequency.tmpl Refactor web routes (#30519) 2024-04-17 08:31:37 +00:00
commit_load_branches_and_tags.tmpl
commit_page.tmpl Fix all rounded borders, change affected tab menus to pills (#30707) (#30769) 2024-04-29 21:19:44 +00:00
commit_status.tmpl
commit_statuses.tmpl
commits.tmpl
commits_list.tmpl
commits_list_small.tmpl Fix some UI regressions for commit list (#30920) (#30937) 2024-05-10 22:36:06 +08:00
commits_search_dropdown.tmpl
commits_table.tmpl
contributors.tmpl Refactor web routes (#30519) 2024-04-17 08:31:37 +00:00
create.tmpl Fix "force private" logic (#31012) (#31021) 2024-05-20 10:27:52 +08:00
create_helper.tmpl
empty.tmpl
file_info.tmpl Remove obsolete CSS text classes (#30576) 2024-04-22 11:21:06 +00:00
forks.tmpl
graph.tmpl
header.tmpl Fix some UI problems (dropdown/container) (#30849) (#30871) 2024-05-06 07:45:04 +00:00
home.tmpl Fix file path width in repo non-homepage view (#30951) (#30952) 2024-05-12 14:07:16 +02:00
icon.tmpl
latest_commit.tmpl
navbar.tmpl
packages.tmpl
pulse.tmpl Refactor web routes (#30519) 2024-04-17 08:31:37 +00:00
recent_commits.tmpl Refactor web routes (#30519) 2024-04-17 08:31:37 +00:00
release_tag_header.tmpl Refactor web routes (#30519) 2024-04-17 08:31:37 +00:00
search.tmpl
search_name.tmpl
shabox_badge.tmpl
star_unstar.tmpl
sub_menu.tmpl Refactor web routes (#30519) 2024-04-17 08:31:37 +00:00
unicode_escape_prompt.tmpl
upload.tmpl
user_cards.tmpl
view_file.tmpl Fix border-radius on view, blame and code search (#30545) 2024-04-18 08:34:23 +00:00
view_list.tmpl Fix view of readme file in the home code page. (#30564) 2024-04-25 00:07:38 +00:00
watch_unwatch.tmpl
watchers.tmpl