0
0
mirror of https://github.com/go-gitea/gitea.git synced 2025-11-10 02:28:27 -05:00

Update tab title when navigating file tree (#35757)

Fix #35749.

---------

Signed-off-by: silverwind <me@silverwind.io>
Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
Co-authored-by: silverwind <me@silverwind.io>
This commit is contained in:
bytedream
2025-10-29 14:38:09 +01:00
committed by GitHub
parent fe25997157
commit 39c08ce4c1
7 changed files with 17 additions and 7 deletions

View File

@@ -537,6 +537,7 @@ func RepoAssignment(ctx *Context) {
}
ctx.Data["Title"] = repo.Owner.Name + "/" + repo.Name
ctx.Data["PageTitleCommon"] = repo.Name + " - " + setting.AppName
ctx.Data["Repository"] = repo
ctx.Data["Owner"] = ctx.Repo.Repository.Owner
ctx.Data["CanWriteCode"] = ctx.Repo.CanWrite(unit_model.TypeCode)