|
|
|
|
@ -546,7 +546,7 @@ func (hs *HTTPServer) buildAlertNavLinks(c *models.ReqContext) []*dtos.NavLink { |
|
|
|
|
}) |
|
|
|
|
|
|
|
|
|
alertChildNavs = append(alertChildNavs, &dtos.NavLink{ |
|
|
|
|
Text: "Alert rule", SubTitle: "Create an alert rule", Id: "alert", |
|
|
|
|
Text: "New alert rule", SubTitle: "Create an alert rule", Id: "alert", |
|
|
|
|
Icon: "plus", Url: hs.Cfg.AppSubURL + "/alerting/new", HideFromTabs: true, ShowIconInNavbar: true, |
|
|
|
|
}) |
|
|
|
|
} |
|
|
|
|
@ -595,7 +595,7 @@ func (hs *HTTPServer) buildCreateNavLinks(c *models.ReqContext) []*dtos.NavLink |
|
|
|
|
|
|
|
|
|
if uaVisibleForOrg && hasAccess(ac.ReqSignedIn, ac.EvalAny(ac.EvalPermission(ac.ActionAlertingRuleCreate), ac.EvalPermission(ac.ActionAlertingRuleExternalWrite))) { |
|
|
|
|
children = append(children, &dtos.NavLink{ |
|
|
|
|
Text: "Alert rule", SubTitle: "Create an alert rule", Id: "alert", |
|
|
|
|
Text: "New alert rule", SubTitle: "Create an alert rule", Id: "alert", |
|
|
|
|
Icon: "bell", Url: hs.Cfg.AppSubURL + "/alerting/new", |
|
|
|
|
}) |
|
|
|
|
} |
|
|
|
|
|