Skip to content

Commit

Permalink
fix: remove submission status if it doesn't have score
Browse files Browse the repository at this point in the history
  • Loading branch information
mariajgrimaldi committed Oct 9, 2023
1 parent 3539a91 commit fa74bb0
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions h5pxblock/static/html/h5pxblock.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,6 @@
<div class="h5pxblock_block">
{% if h5pblock.has_score %}
<p> ({{ h5pblock.raw_score}}/{{ h5pblock.max_raw_score }} {% trans "points" %}) {% trans h5pblock.submission_status %}</p>
{% else %}
<p> {% trans h5pblock.submission_status %}</p>
{% endif %}
<div class="d-flex justify-content-center spinner-container">
<div class="spinner-border" role="status">
<span class="sr-only">{% trans "Loading..." %}</span>
Expand Down

0 comments on commit fa74bb0

Please sign in to comment.