diff --git a/list.tmpl b/list.tmpl
index 621d2e6..f73c441 100644
--- a/list.tmpl
+++ b/list.tmpl
@@ -1,5 +1,5 @@
-
-
GNU Taler Dashboard
+
+ GNU Taler Dashboard
+
GNU Taler Dashboard
Data from {{ .Timestamp.Format "02 Jan 06 15:04 MST"}}, updateting every {{ .Freq }} (no auto-refresh)
{{ with .Lasterror }}, Last error: {{ . }} {{end}}
-
- {{ $top := . }}
- {{ $features := .Features }}
- {{ $issues := .Issues }}
- {{ $versions := .VersionsByDate }}
+ {{- $top := . }}
+ {{- $features := .Features }}
+ {{- $issues := .Issues }}
+ {{- $versions := .VersionsByDate }}
- {{ range $cat := $top.Categories }}
+ {{- range $cat := $top.Categories }}
{{ . }}
Features
- {{ range $features.ByCategory $cat }}
+ {{- range $features.ByCategory $cat }}
{{.Id}} {{.Summary}}
{{ .Description }}
- {{ end }}
+ {{ end -}}
Issues
- {{ range $issues.ByCategory $cat }}
+ {{- range $issues.ByCategory $cat }}
{{.Id}} {{.Summary}}
{{ .Description }}
- {{ end }}
- {{ end }}
+ {{ end -}}
+ {{ end -}}
taler-dashboard - version: {{.Commit}} - https://git.kesim.org/taler/taler-dashboard
diff --git a/table.tmpl b/table.tmpl
index 75899d7..63fa082 100644
--- a/table.tmpl
+++ b/table.tmpl
@@ -1,5 +1,5 @@
-
-
GNU Taler Dashboard
+
+ GNU Taler Dashboard
+
GNU Taler Dashboard
Data from {{ .Timestamp.Format "02 Jan 06 15:04 MST"}}, updateting every {{ .Freq }} (no auto-refresh)
- {{ with .Lasterror }}, Last error: {{ . }} {{end}}
-
- {{ $top := . }}
- {{ $features := .Features }}
- {{ $issues := .Issues }}
- {{ $versions := .VersionsByDate }}
+ {{- with .Lasterror }}, Last error: {{ . }} {{end }}
+ {{- $top := . -}}
+ {{- $features := .Features -}}
+ {{- $issues := .Issues -}}
+ {{- $versions := .VersionsByDate -}}
-
|
- {{ range $top.TargetVersions }}
+ {{- range $top.TargetVersions }}
- {{ $version := $versions.Get . }}
+ {{- $version := $versions.Get . }}
{{ . }} ({{ $version.Timestamp.Format "02 Jan 06"}})
-
- {{ $version.Description }}
-
+ {{$version.Description }}
|
- {{ end }}
+ {{- end}}
- {{ range $cat := $top.Categories }}
+ {{- range $cat := $top.Categories }}
{{ . }} |
- {{ range $tar := $top.TargetVersions }}
-
- {{ with $features.ByCategoryAndTarget $cat $tar }}
+ {{- range $tar := $top.TargetVersions }}
+ | {{ with $features.ByCategoryAndTarget $cat $tar }}
- {{ $l := len .}} {{ if lt 1 $l }} {{ $l }} features {{ else }} 1 feature {{ end }}
- {{ range . }}
- {{.Id}} {{.Summary}}
- {{ end }}
+ {{ $l := len .}}{{ if lt 1 $l }}{{ $l }} features{{ else }}1 feature{{ end }}
+ {{- range . }}
+ {{.Id}} {{.Summary}}
+ {{- end}}
- {{ end }}
-
- {{ with $issues.ByCategoryAndTarget $cat $tar }}
+ {{- end }}
+ {{- with $issues.ByCategoryAndTarget $cat $tar }}
- {{ $l := len .}} {{ if lt 1 $l }} {{ $l }} issues {{ else }} 1 issue {{ end }}
- {{ range . }}
- {{.Id}} {{.Summary}}
- {{ end }}
+ {{ $l := len .}}{{ if lt 1 $l }}{{ $l }} issues{{ else }}1 issue{{ end }}
+ {{- range . }}
+ {{.Id}} {{.Summary}} {{end}}
- {{ end }}
- |
- {{ end }}
+ {{ end -}}
+ {{ end }}
- {{ end }}
+ {{- end}}
-
taler-dashboard - version: {{.Commit}} - https://git.kesim.org/taler/taler-dashboard