mirror of
https://github.com/matt-fidd/stratos.git
synced 2026-01-01 20:39:28 +00:00
Added testResults page
This commit is contained in:
20
views/testResults.hbs
Normal file
20
views/testResults.hbs
Normal 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>
|
||||||
Reference in New Issue
Block a user