render serie via a separate block
This commit is contained in:
parent
1b249600e5
commit
151cc75532
3 changed files with 17 additions and 10 deletions
|
|
@ -67,15 +67,7 @@
|
|||
</thead>
|
||||
<tbody>
|
||||
{{ range $serie := .series }}
|
||||
<tr>
|
||||
<td colspan="3" class="{{ if not ($serie | isAutoSubmittable) }}table-primary{{ else }}table-success{{ end }}">Serie with {{ len $serie.ChangeSets }} changes</td>
|
||||
</tr>
|
||||
{{ range $changeset := $serie.ChangeSets }}
|
||||
{{ block "changeset" $changeset }}{{ end }}
|
||||
{{ end }}
|
||||
<tr>
|
||||
<td colspan="3"> </td>
|
||||
</tr>
|
||||
{{ block "serie" $serie }}{{ end }}
|
||||
{{ end }}
|
||||
</tbody>
|
||||
</table>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue