{{#eq userType 'account'}}
{{/eq}}

Test Overview - {{ testName }}

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

{{#eq userType 'account'}} Results {{else}} Result {{/eq}}

{{#eq userType 'account'}} {{> button style='full' colour='primary' to=resultsLink content='Manage results'}} {{/eq}}
{{#if testResults.length}} {{#each testResults}} {{> testResult result=this userType=../userType edit=false }} {{/each}} {{else}} {{#eq userType 'account'}} You have not submitted any results yet {{else}} Your test result has not been submitted yet {{/eq}} {{/if}}

Statistics and Reports

{{#each stats}} {{> adminStat value=value text=text }} {{/each}}
{{> graph }} {{> graph }}
{{#eq userType 'account'}} {{/eq}}