Core: Make application title customizable for WL (#22401)

* Core: Add custom app title

* Docs: Update White Labeling title customization

* Core: set back export for Branding types
This commit is contained in:
Agnès Toulet
2020-02-25 15:18:37 +01:00
committed by GitHub
parent 204682e9b8
commit 1dd404a1fb
7 changed files with 15 additions and 3 deletions
+1
View File
@@ -17,6 +17,7 @@ type IndexViewData struct {
AppNameBodyClass string
FavIcon string
AppleTouchIcon string
AppTitle string
}
type PluginCss struct {
+1
View File
@@ -87,6 +87,7 @@ func (hs *HTTPServer) setIndexViewData(c *m.ReqContext) (*dtos.IndexViewData, er
AppNameBodyClass: getAppNameBodyClass(hs.License.HasValidLicense()),
FavIcon: "public/img/fav32.png",
AppleTouchIcon: "public/img/apple-touch-icon.png",
AppTitle: "Grafana",
}
if setting.DisableGravatar {