mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
Logos: Refactoring a bit how logos are rendered (#21421)
This commit is contained in:
@@ -15,6 +15,8 @@ type IndexViewData struct {
|
||||
NewGrafanaVersion string
|
||||
AppName string
|
||||
AppNameBodyClass string
|
||||
FavIcon string
|
||||
AppleTouchIcon string
|
||||
}
|
||||
|
||||
type PluginCss struct {
|
||||
|
||||
@@ -85,6 +85,8 @@ func (hs *HTTPServer) setIndexViewData(c *m.ReqContext) (*dtos.IndexViewData, er
|
||||
NewGrafanaVersionExists: plugins.GrafanaHasUpdate,
|
||||
AppName: setting.ApplicationName,
|
||||
AppNameBodyClass: getAppNameBodyClass(hs.License.HasValidLicense()),
|
||||
FavIcon: "public/img/fav32.png",
|
||||
AppleTouchIcon: "public/img/apple-touch-icon.png",
|
||||
}
|
||||
|
||||
if setting.DisableGravatar {
|
||||
|
||||
Reference in New Issue
Block a user