{{#eq userType 'account'}}
{{> button style='full' colour='primary' to=deleteLink content='Delete Test' size='lg'}}
{{/eq}}

Test Overview - {{ testName }}

{{#with class}}
Class: {{name}}
{{/with}}
Subject: {{subject}}
Maximum mark: {{maxMark}}

Result

{{#if testResults.length}} {{#each testResults as |result|}}
Submitted by: {{result.author}}
Submitted at: {{result.time}}
{{result.grade}}
{{result.mark}} --- {{../maxMark}}
=
{{result.percentage}}%
{{/each}} {{else}} Your test result has not been submitted yet {{/if}}

Statistics and Reports

{{> button style='full' colour='primary' to=reportsLink content='View All'}}
{{#each stats}} {{> adminStat value=value text=text }} {{/each}}
{{> graph }} {{> graph }}