mirror of https://github.com/grafana/grafana.git
Navigation: Add missing subpaths for navtree items (#111202)
Navigation: Add missing subpaths
This commit is contained in:
parent
59b8dff7e4
commit
6629021f36
|
@ -76,7 +76,7 @@ func (s *ServiceImpl) getAdminNode(c *contextmodel.ReqContext) (*navtree.NavLink
|
||||||
Text: "General",
|
Text: "General",
|
||||||
SubTitle: "Manage default preferences and settings across Grafana",
|
SubTitle: "Manage default preferences and settings across Grafana",
|
||||||
Id: navtree.NavIDCfgGeneral,
|
Id: navtree.NavIDCfgGeneral,
|
||||||
Url: "/admin/general",
|
Url: s.cfg.AppSubURL + "/admin/general",
|
||||||
Icon: "shield",
|
Icon: "shield",
|
||||||
Children: generalNodeLinks,
|
Children: generalNodeLinks,
|
||||||
}
|
}
|
||||||
|
@ -121,7 +121,7 @@ func (s *ServiceImpl) getAdminNode(c *contextmodel.ReqContext) (*navtree.NavLink
|
||||||
Text: "Plugins and data",
|
Text: "Plugins and data",
|
||||||
SubTitle: "Install plugins and define the relationships between data",
|
SubTitle: "Install plugins and define the relationships between data",
|
||||||
Id: navtree.NavIDCfgPlugins,
|
Id: navtree.NavIDCfgPlugins,
|
||||||
Url: "/admin/plugins",
|
Url: s.cfg.AppSubURL + "/admin/plugins",
|
||||||
Icon: "shield",
|
Icon: "shield",
|
||||||
Children: pluginsNodeLinks,
|
Children: pluginsNodeLinks,
|
||||||
}
|
}
|
||||||
|
@ -174,7 +174,7 @@ func (s *ServiceImpl) getAdminNode(c *contextmodel.ReqContext) (*navtree.NavLink
|
||||||
Text: "Users and access",
|
Text: "Users and access",
|
||||||
SubTitle: "Configure access for individual users, teams, and service accounts",
|
SubTitle: "Configure access for individual users, teams, and service accounts",
|
||||||
Id: navtree.NavIDCfgAccess,
|
Id: navtree.NavIDCfgAccess,
|
||||||
Url: "/admin/access",
|
Url: s.cfg.AppSubURL + "/admin/access",
|
||||||
Icon: "shield",
|
Icon: "shield",
|
||||||
Children: accessNodeLinks,
|
Children: accessNodeLinks,
|
||||||
}
|
}
|
||||||
|
@ -201,7 +201,7 @@ func (s *ServiceImpl) getAdminNode(c *contextmodel.ReqContext) (*navtree.NavLink
|
||||||
Icon: "cog",
|
Icon: "cog",
|
||||||
SortWeight: navtree.WeightConfig,
|
SortWeight: navtree.WeightConfig,
|
||||||
Children: configNodes,
|
Children: configNodes,
|
||||||
Url: "/admin",
|
Url: s.cfg.AppSubURL + "/admin",
|
||||||
}
|
}
|
||||||
|
|
||||||
return configNode, nil
|
return configNode, nil
|
||||||
|
|
|
@ -267,7 +267,7 @@ func (s *ServiceImpl) addHelpLinks(treeRoot *navtree.NavTreeRoot, c *contextmode
|
||||||
supportBundleNode := &navtree.NavLink{
|
supportBundleNode := &navtree.NavLink{
|
||||||
Text: "Support bundles",
|
Text: "Support bundles",
|
||||||
Id: "support-bundles",
|
Id: "support-bundles",
|
||||||
Url: "/support-bundles",
|
Url: s.cfg.AppSubURL + "/support-bundles",
|
||||||
Icon: "wrench",
|
Icon: "wrench",
|
||||||
SortWeight: navtree.WeightHelp,
|
SortWeight: navtree.WeightHelp,
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue