[PR #3908] [MERGED] Fix code tab link when viewing tags #17137

Closed
opened 2025-11-02 12:27:13 -06:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/go-gitea/gitea/pull/3908
Author: @serverwentdown
Created: 5/7/2018
Status: Merged
Merged: 5/7/2018
Merged by: @appleboy

Base: masterHead: master


📝 Commits (1)

  • bcbe60c Fix code tab link when viewing tags

📊 Changes

1 file changed (+1 additions, -1 deletions)

View changed files

📝 templates/repo/header.tmpl (+1 -1)

📄 Description

"Code" tab button in the repo view assumes that the current BranchName is always a branch. This fix replaces the hardcoded "branch/{{.BranchName}}" path with the proper "{{.BranchNameSubURL}}".


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/go-gitea/gitea/pull/3908 **Author:** [@serverwentdown](https://github.com/serverwentdown) **Created:** 5/7/2018 **Status:** ✅ Merged **Merged:** 5/7/2018 **Merged by:** [@appleboy](https://github.com/appleboy) **Base:** `master` ← **Head:** `master` --- ### 📝 Commits (1) - [`bcbe60c`](https://github.com/go-gitea/gitea/commit/bcbe60c7fdc39a64a3763eda91b4c1a329ac9f2d) Fix code tab link when viewing tags ### 📊 Changes **1 file changed** (+1 additions, -1 deletions) <details> <summary>View changed files</summary> 📝 `templates/repo/header.tmpl` (+1 -1) </details> ### 📄 Description "Code" tab button in the repo view assumes that the current BranchName is always a branch. This fix replaces the hardcoded "branch/{{.BranchName}}" path with the proper "{{.BranchNameSubURL}}". --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
GiteaMirror added the pull-request label 2025-11-02 12:27:13 -06:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/gitea#17137