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

Submodule grafana updated: 7fef460fa2...dfef4727b6

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