diff --git a/resource/template/dashboard-default/monitor.html b/resource/template/dashboard-default/monitor.html index 8026508..8079b5f 100644 --- a/resource/template/dashboard-default/monitor.html +++ b/resource/template/dashboard-default/monitor.html @@ -37,8 +37,7 @@ {{if eq $monitor.Cover 0}}{{tr "CoverAll"}}{{else}}{{tr "IgnoreAll"}}{{end}} {{$monitor.SkipServersRaw}} - {{if eq $monitor.Type 1}}{{tr "TCPPort"}} {{else if eq $monitor.Type - 2}} ICMP Ping {{end}} + {{if eq $monitor.Type 1}}{{tr "TCPPort"}} {{else if eq $monitor.Type 2}} ICMP Ping {{end}} {{$monitor.Duration}} {{tr "Seconds"}} {{$monitor.NotificationTag}}