1
0
mirror of https://github.com/matt-fidd/stratos.git synced 2026-01-01 23:19:29 +00:00

Prepare test view for actual testResult format

This commit is contained in:
2022-04-18 12:59:32 +00:00
parent ce00fd1835
commit 3adf10ed6e

View File

@@ -31,10 +31,10 @@
<div class='testPage__testResultWrapper'>
<div>
<div>
Submitted by: <span class='hl'>{{result.author}}</span>
Submitted by: <span class='hl'>{{result.account.shortName}}</span>
</div>
<div>
Submitted at: <span class='hl'>{{result.time}}</span>
Submitted at: <span class='hl'>{{formatTime result.time}}</span>
</div>
</div>
<div class='testPage__testResult'>
@@ -56,7 +56,11 @@
</div>
{{/each}}
{{else}}
Your test result has not been submitted yet
{{#eq userType 'account'}}
You have not submitted any results yet
{{else}}
Your test result has not been submitted yet
{{/eq}}
{{/if}}
</div>
</div>