diff options
author | silverwind <me@silverwind.io> | 2017-04-15 04:02:46 +0200 |
---|---|---|
committer | Lunny Xiao <xiaolunwen@gmail.com> | 2017-04-15 10:02:46 +0800 |
commit | 237270ef50ba00b3007ea10c2302bc240188e092 (patch) | |
tree | 5541d3ee0902139e15777dea42fb5e5fc00e703e /routers/user | |
parent | d409d3ab57894de853bbc5fbacf32628b4d8fa1e (diff) | |
download | gitea-237270ef50ba00b3007ea10c2302bc240188e092.tar.gz gitea-237270ef50ba00b3007ea10c2302bc240188e092.zip |
Orgs: fix org page title when full name is not defined (#1495)
Diffstat (limited to 'routers/user')
-rw-r--r-- | routers/user/home.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/routers/user/home.go b/routers/user/home.go index 868f984b5a..3fe8a57d09 100644 --- a/routers/user/home.go +++ b/routers/user/home.go @@ -377,7 +377,7 @@ func showOrgProfile(ctx *context.Context) { } org := ctx.Org.Organization - ctx.Data["Title"] = org.FullName + ctx.Data["Title"] = org.DisplayName() page := ctx.QueryInt("page") if page <= 0 { |