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.
This commit is contained in:
Florian Klink 2019-12-04 13:33:57 +01:00
parent 0ec77274f5
commit 3125b79f2f

View file

@ -1,11 +1,19 @@
{{ 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 }}
<tr>
<td colspan="3">&nbsp;</td>
</tr>
</tbody>
</table>
{{ end }}