Commit bd470abc by Torkel Ödegaard

fontend styles updated

parent 68a6a1bc
Subproject commit 7fef460fa2b6034429b205dc63d9b9f298f43fb4
Subproject commit dfef4727b689d408b86d75c575646705bac79496
......@@ -23,6 +23,10 @@ func setIndexViewData(c *middleware.Context) error {
IsGrafanaAdmin: c.IsGrafanaAdmin,
}
if len(currentUser.Name) == 0 {
currentUser.Name = currentUser.Login
}
c.Data["User"] = currentUser
c.Data["Settings"] = settings
c.Data["AppUrl"] = setting.AppUrl
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment