From 8c8fc41d0f54ff46a97306cb63098e8c56348b33 Mon Sep 17 00:00:00 2001 From: moloko Date: Fri, 23 Jun 2017 20:12:22 +0100 Subject: [PATCH] amend the template to allow handlebars expressions in the retryFeedback JSON to be compiled --- templates/assessmentResults.hbs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/templates/assessmentResults.hbs b/templates/assessmentResults.hbs index 50a63bd..409e6e0 100644 --- a/templates/assessmentResults.hbs +++ b/templates/assessmentResults.hbs @@ -1,10 +1,12 @@ +{{! make the _globals object in course.json available to this template}} +{{import_globals}}
{{> component this}}
{{#if _isRetryEnabled}}
- {{{a11y_text retryFeedback}}} + {{{compile_a11y_text retryFeedback}}}