Skip to content

Commit

Permalink
amend the template to allow handlebars expressions in the retryFeedba…
Browse files Browse the repository at this point in the history
…ck JSON to be compiled
  • Loading branch information
moloko committed Jun 23, 2017
1 parent 8f341fa commit 8c8fc41
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion templates/assessmentResults.hbs
Original file line number Diff line number Diff line change
@@ -1,10 +1,12 @@
{{! make the _globals object in course.json available to this template}}
{{import_globals}}
<div class="results-inner component-inner">
{{> component this}}
<div class="results-widget component-widget">
{{#if _isRetryEnabled}}
<div class="results-retry component-feedback">
<div class="results-retry-inner component-feedback-inner">
{{{a11y_text retryFeedback}}}
{{{compile_a11y_text retryFeedback}}}
</div>
<div class="results-retry-button">
<button>{{#if _retry.button}}{{_retry.button}}{{else}}Retry{{/if}}</button>
Expand Down

0 comments on commit 8c8fc41

Please sign in to comment.