Skip to content

Commit

Permalink
results page: fill in empty cells when question scores aren't shown
Browse files Browse the repository at this point in the history
This at least makes the table not look broken.

But I think the scores should be shown in some cases, but they're
currently not. See #1042
  • Loading branch information
christianp committed Nov 17, 2023
1 parent 675c842 commit fe63770
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions themes/default/templates/result-questions.html
Expand Up @@ -36,6 +36,9 @@
<td>/</td>
<td data-bind="niceNumber: marks"></td>
<!-- /ko -->
<!-- ko if: !scoreFeedback.revealed() -->
<td colspan="3"></td>
<!-- /ko -->
<td><button type="button" class="btn btn-link review" data-localise="result.question review"></button></td>
</tr>
<!-- /ko -->
Expand Down

0 comments on commit fe63770

Please sign in to comment.