aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGiteabot <teabot@gitea.io>2025-05-13 06:01:45 +0800
committerGitHub <noreply@github.com>2025-05-12 22:01:45 +0000
commitcccd54999a6c3b9f2573d2ba20d83d7c4cac77c3 (patch)
treed8ca3fa3e94da40fc8bdd910b87371bfb290d208
parent3e7cb5b6396edb93c0dbbc0e520cd9a7795514d4 (diff)
downloadgitea-cccd54999a6c3b9f2573d2ba20d83d7c4cac77c3.tar.gz
gitea-cccd54999a6c3b9f2573d2ba20d83d7c4cac77c3.zip
Fix releases sidebar navigation link (#34436) (#34439)v1.23.8
Backport #34436 by @badhezi Resolves https://github.com/go-gitea/gitea/issues/34435 --------- Co-authored-by: badhezi <zlilaharon@gmail.com>
-rw-r--r--CHANGELOG.md1
-rw-r--r--templates/repo/home_sidebar_bottom.tmpl2
2 files changed, 2 insertions, 1 deletions
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 87db42d622..635b6534c4 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -10,6 +10,7 @@ been added to each release, please refer to the [blog](https://blog.gitea.com).
* Fix a bug when uploading file via lfs ssh command (#34408) (#34411)
* Update net package (#34228) (#34232)
* BUGFIXES
+ * Fix releases sidebar navigation link (#34436) #34439
* Fix bug webhook milestone is not right. (#34419) #34429
* Fix two missed null value checks on the wiki page. (#34205) (#34215)
* Swift files can be passed either as file or as form value (#34068) (#34236)
diff --git a/templates/repo/home_sidebar_bottom.tmpl b/templates/repo/home_sidebar_bottom.tmpl
index f780dc122d..f66faf6d10 100644
--- a/templates/repo/home_sidebar_bottom.tmpl
+++ b/templates/repo/home_sidebar_bottom.tmpl
@@ -4,7 +4,7 @@
<div class="flex-item">
<div class="flex-item-main">
<div class="flex-item-title">
- <a class="item muted" href="{{.Link}}/releases">
+ <a class="item muted" href="{{.RepoLink}}/releases">
{{ctx.Locale.Tr "repo.releases"}}
<span class="ui small label">{{.NumReleases}}</span>
</a>