1
0
mirror of https://github.com/matt-fidd/stratos.git synced 2026-01-01 20:39:28 +00:00
Files
stratos/views/partials/testTable.hbs
2022-04-21 13:19:07 +00:00

34 lines
512 B
Handlebars

{{#if tests.length}}
<table class='tests'>
{{#if full}}
<thead>
<tr>
<th>Name</th>
<th>Class</th>
<th>Subject</th>
<th>Date</th>
</tr>
</thead>
{{#each tests}}
{{> test
id=id
name=template.name
class=class.name
subject=class.subject.name
date=date
}}
{{/each}}
{{else}}
{{#each tests}}
{{> dashboardTest
id=id
name=template.name
date=date
}}
{{/each}}
{{/if}}
</table>
{{else}}
No tests found
{{/if}}