1
0
mirror of https://github.com/matt-fidd/stratos.git synced 2026-01-01 22:59:28 +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 class='testPage__testResultWrapper'>
<div> <div>
<div> <div>
Submitted by: <span class='hl'>{{result.author}}</span> Submitted by: <span class='hl'>{{result.account.shortName}}</span>
</div> </div>
<div> <div>
Submitted at: <span class='hl'>{{result.time}}</span> Submitted at: <span class='hl'>{{formatTime result.time}}</span>
</div> </div>
</div> </div>
<div class='testPage__testResult'> <div class='testPage__testResult'>
@@ -55,8 +55,12 @@
</div> </div>
</div> </div>
{{/each}} {{/each}}
{{else}}
{{#eq userType 'account'}}
You have not submitted any results yet
{{else}} {{else}}
Your test result has not been submitted yet Your test result has not been submitted yet
{{/eq}}
{{/if}} {{/if}}
</div> </div>
</div> </div>