1
0
mirror of https://github.com/matt-fidd/stratos.git synced 2026-01-01 18:39:32 +00:00

Added testResults page

This commit is contained in:
2022-04-18 15:52:35 +00:00
parent 5fdbffdd7e
commit 61a7498682

20
views/testResults.hbs Normal file
View File

@@ -0,0 +1,20 @@
<section>
<div class='adminSection'>
<div class='adminItem'>
<h2>Test Results - {{ testName }}</h2>
<div>
{{#if testResults.length}}
{{#each testResults}}
{{> testResult result=this userType=../userType edit=true linkRoot=../linkRoot}}
{{/each}}
{{else}}
{{#eq userType 'account'}}
You have not submitted any results yet
{{else}}
Your test result has not been submitted yet
{{/eq}}
{{/if}}
</div>
</div>
</div>
</section>