render serie via a separate block
This commit is contained in:
parent
1b249600e5
commit
151cc75532
3 changed files with 17 additions and 10 deletions
11
public/serie.tmpl.html
Normal file
11
public/serie.tmpl.html
Normal file
|
@ -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"> </td>
|
||||
</tr>
|
||||
{{ end }}
|
Loading…
Add table
Add a link
Reference in a new issue