mirror of
https://github.com/go-gitea/gitea.git
synced 2024-09-01 14:56:30 +00:00
Orgs: fix org page title when full name is not defined (#1495)
This commit is contained in:
parent
d409d3ab57
commit
237270ef50
@ -377,7 +377,7 @@ func showOrgProfile(ctx *context.Context) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
org := ctx.Org.Organization
|
org := ctx.Org.Organization
|
||||||
ctx.Data["Title"] = org.FullName
|
ctx.Data["Title"] = org.DisplayName()
|
||||||
|
|
||||||
page := ctx.QueryInt("page")
|
page := ctx.QueryInt("page")
|
||||||
if page <= 0 {
|
if page <= 0 {
|
||||||
|
Loading…
Reference in New Issue
Block a user