From 82cf917d7c46d853e5667cde73135a9137f9cc29 Mon Sep 17 00:00:00 2001 From: matt Date: Mon, 18 Apr 2022 15:52:48 +0000 Subject: [PATCH] Added manage results button to test page --- views/test.hbs | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/views/test.hbs b/views/test.hbs index 2292a12..b3ea305 100644 --- a/views/test.hbs +++ b/views/test.hbs @@ -32,11 +32,14 @@ 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 }} + {{> testResult result=this userType=../userType edit=false }} {{/each}} {{else}} {{#eq userType 'account'}}