From: Sebastian Harl Date: Sat, 22 Nov 2014 10:29:03 +0000 (+0100) Subject: Show graphs only if SysDB indicated that time-series are available. X-Git-Url: https://git.tokkee.org/?p=sysdb%2Fwebui.git;a=commitdiff_plain;h=c4914eb592f5491cf94fc81f87f7a3db61f01c52 Show graphs only if SysDB indicated that time-series are available. --- diff --git a/templates/metric.tmpl b/templates/metric.tmpl index 40be05c..d855356 100644 --- a/templates/metric.tmpl +++ b/templates/metric.tmpl @@ -1,6 +1,8 @@
{{$m := index .Metrics 0}}

Metric {{$.Name}} — {{$m.Name}}

+{{if $m.Timeseries}} +{{end}}
Host{{$.Name}}
Last update{{$m.LastUpdate}}