{{define "dashboard-default/notification"}} {{template "common/header" .}} {{template "common/menu" .}}
{{range $notification := .Notifications}} {{end}}
ID {{tr "Name"}} {{tr "Tag"}} URL {{tr "VerifySSL"}} {{tr "Administration"}}
{{$notification.ID}} {{$notification.Name}} {{$notification.Tag}} {{$notification.URL}} {{$notification.VerifySSL}}
{{range $rule := .AlertRules}} {{end}}
ID {{tr "Name"}} {{tr "NotificationMethodGroup"}} {{tr "NotificationTriggerMode"}} {{tr "Rules"}} {{tr "FailTriggerTasks"}} {{tr "RecoverTriggerTasks"}} {{tr "Enable"}} {{tr "Administration"}}
{{$rule.ID}} {{$rule.Name}} {{$rule.NotificationTag}} {{if eq $rule.TriggerMode 0}}{{tr "ModeAlwaysTrigger"}}{{else}}{{tr "ModeOnetimeTrigger"}}{{end}} {{$rule.RulesRaw}} {{$rule.FailTriggerTasksRaw}} {{$rule.RecoverTriggerTasksRaw}} {{$rule.Enable}}
{{template "component/notification"}} {{template "component/rule"}} {{template "common/footer" .}} {{end}}