gitea/templates
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
..
admin Check if reverse proxy is correctly configured (#30890) (#30935) 2024-05-10 12:34:04 +00:00
api/packages/pypi Fix links in PyPI Simple Repository API page (#30594) 2024-04-20 01:15:14 +00:00
base Rework and fix stopwatch (#30732) (#30787) 2024-04-30 21:46:45 +00:00
custom Add footer extra links template (#9576) 2020-01-03 20:41:56 +02:00
devtest Fix some UI problems (dropdown/container) (#30849) (#30871) 2024-05-06 07:45:04 +00:00
explore Refactor web routes (#30519) 2024-04-17 08:31:37 +00:00
mail Remove unnecessary SanitizeHTML from code (#29575) 2024-03-04 12:02:45 +00:00
org Right align the "Settings" menu item in overflow-menu (#30764) (#30777) 2024-04-30 16:40:09 +08:00
package Avoid 500 panic error when uploading invalid maven package file (#31014) (#31027) 2024-05-20 07:10:27 +00:00
projects Fix project column title overflow (#31011) (#31025) 2024-05-20 06:17:21 +00:00
repo Don't include link of deleted branch when listing branches (#31028) (#31032) 2024-05-21 15:51:36 +08:00
shared Rename CodeIndexerEnabled to IsRepoIndexerEnabled (#30762) (#30767) 2024-04-29 21:57:48 +00:00
status Initial support for colorblindness-friendly themes (#30625) 2024-04-24 00:18:41 +08:00
swagger Simplify mirror repository API logic (#30963) (#31009) 2024-05-18 08:26:20 +00:00
user Return access_denied error when an OAuth2 request is denied (#30974) (#31029) 2024-05-20 22:49:04 +08:00
webhook Fix incorrect tailwind migration (#30007) 2024-03-22 20:51:29 +01:00
home.tmpl Migrate margin and padding helpers to tailwind (#30043) 2024-03-24 17:42:49 +01:00
install.tmpl Fix some UI problems (install/checkbox) (#30854) (#30870) 2024-05-06 06:58:42 +00:00
post-install.tmpl Always use ctx.Locale.Tr inside templates (#27231) 2023-09-25 08:56:50 +00:00