tvl-depot/public/serie.tmpl.html
Florian Klink 3125b79f2f serie.tmpl.html: move missing table html
When refactoring the web interfaces, series was removed.

However, we still want to show an individual Serie, which should
properly be inside it's own table - so let's add this to the template.
2019-12-04 13:33:57 +01:00

19 lines
No EOL
467 B
HTML

{{ define "serie" }}
<table class="table table-sm table-hover">
<thead class="thead-light">
<tr>
<th scope="col">Owner</th>
<th scope="col">Changeset</th>
<th scope="col">Flags</th>
</tr>
</thead>
<tbody>
<tr>
<td colspan="3" class="table-success">Serie with {{ len .ChangeSets }} changes</td>
</tr>
{{ range $changeset := .ChangeSets }}
{{ block "changeset" $changeset }}{{ end }}
{{ end }}
</tbody>
</table>
{{ end }}