We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f9d69e5 commit a1e4d7bCopy full SHA for a1e4d7b
routers/web/org/projects.go
@@ -436,7 +436,11 @@ func ViewProject(ctx *context.Context) {
436
ctx.Data["Project"] = project
437
ctx.Data["IssuesMap"] = issuesMap
438
ctx.Data["Columns"] = columns
439
- ctx.Data["Title"] = fmt.Sprintf("%s - %s", project.Title, ctx.Org.Organization.DisplayName())
+ ctx.Data["Title"] = project.Title
440
+
441
+ if ctx.ContextUser.IsOrganization() {
442
+ ctx.Data["Title"] = fmt.Sprintf("%s - %s", project.Title, ctx.Org.Organization.DisplayName())
443
+ }
444
445
if _, err := shared_user.RenderUserOrgHeader(ctx); err != nil {
446
ctx.ServerError("RenderUserOrgHeader", err)
0 commit comments