fontend styles updated

This commit is contained in:
Torkel Ödegaard 2015-02-03 10:46:52 +01:00
parent 68a6a1bc15
commit bd470abcf0
2 changed files with 5 additions and 1 deletions

@ -1 +1 @@
Subproject commit 7fef460fa2b6034429b205dc63d9b9f298f43fb4
Subproject commit dfef4727b689d408b86d75c575646705bac79496

View File

@ -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