Update tab title when navigating file tree (#35757) (#35772)

Backport #35757 by bytedream
This commit is contained in:
Giteabot
2025-10-29 22:04:19 +08:00
committed by GitHub
parent 45a88e09af
commit 88a8571b93
7 changed files with 17 additions and 7 deletions

View File

@@ -22,6 +22,8 @@ func GetContextData(c context.Context) reqctx.ContextData {
func CommonTemplateContextData() reqctx.ContextData {
return reqctx.ContextData{
"PageTitleCommon": setting.AppName,
"IsLandingPageOrganizations": setting.LandingPageURL == setting.LandingPageOrganizations,
"ShowRegistrationButton": setting.Service.ShowRegistrationButton,