|
|
@@ -120,8 +120,8 @@ func setIndexViewData(c *middleware.Context) (*dtos.IndexViewData, error) {
|
|
|
|
|
|
if c.IsSignedIn {
|
|
|
profileNode := &dtos.NavLink{
|
|
|
- Text: c.SignedInUser.Login,
|
|
|
- SubTitle: c.SignedInUser.Name,
|
|
|
+ Text: c.SignedInUser.NameOrFallback(),
|
|
|
+ SubTitle: c.SignedInUser.Login,
|
|
|
Id: "profile",
|
|
|
Img: data.User.GravatarUrl,
|
|
|
Url: setting.AppSubUrl + "/profile",
|