about summary refs log tree commit diff
path: root/public/serie.tmpl.html
diff options
context:
space:
mode:
authorFlorian Klink <flokli@flokli.de>2019-11-27T10·38+0100
committerFlorian Klink <flokli@flokli.de>2019-11-27T10·40+0100
commit151cc755326098a26e1992c04eb7833d642a4a42 (patch)
treea11e016d7d2a8e51cd828bc717d76dd20a551f5c /public/serie.tmpl.html
parent1b249600e565d9b6bd28ecd6a743ebc425f02130 (diff)
render serie via a separate block
Diffstat (limited to 'public/serie.tmpl.html')
-rw-r--r--public/serie.tmpl.html11
1 files changed, 11 insertions, 0 deletions
diff --git a/public/serie.tmpl.html b/public/serie.tmpl.html
new file mode 100644
index 000000000000..7db666c173ec
--- /dev/null
+++ b/public/serie.tmpl.html
@@ -0,0 +1,11 @@
+{{ define "serie" }}
+<tr>
+<td colspan="3" class="{{ if not (. | isAutoSubmittable) }}table-primary{{ else }}table-success{{ end }}">Serie with {{ len .ChangeSets }} changes</td>
+</tr>
+{{ range $changeset := .ChangeSets }}
+{{ block "changeset" $changeset }}{{ end }}
+{{ end }}
+<tr>
+<td colspan="3">&nbsp;</td>
+</tr>
+{{ end }}
\ No newline at end of file