Skip to content

Commit

Permalink
[Scorecards] Gor rid of 'out of' for questiomn scores
Browse files Browse the repository at this point in the history
  • Loading branch information
lucascumsille committed Feb 3, 2025
1 parent a87b8b9 commit 6877e1f
Showing 1 changed file with 2 additions and 7 deletions.
9 changes: 2 additions & 7 deletions scoring/templates/scoring/council.html
Original file line number Diff line number Diff line change
Expand Up @@ -379,14 +379,10 @@ <h3 class="exclamation text-white">Visit us again on a bigger screen</h3>
</td>

<td data-column="score" class="score border-bottom">
<span class="fs-6 d-none">{{ answer.score|format_mark }} <span class="fs-7">out of </span> {{ answer.max }}
</span>
{{ answer.score|format_mark }}/{{ answer.max }}
</td>
{% comment %} TODO: Include previous scorecards score(2023) {% endcomment %}
<td class="js-previous-year-score border-bottom">
<span class="fs-6 d-none">{{ answer.score|format_mark }} <span class="fs-7">out of </span> {{ answer.max }}
</span>
{{ answer.score|format_mark }}/{{ answer.max }}
</td>
<td class="border-end border-bottom border-opacity-25 text-center">
Expand All @@ -402,12 +398,11 @@ <h3 class="exclamation text-white">Visit us again on a bigger screen</h3>

{% for comparison in answer.comparisons %}
<td data-column="score" class="d-none d-md-table-cell score border-bottom">
<span class="fs-6">{{ comparison.score|format_mark }} <span class="fs-7">out of </span> {{ comparison.max }}
{{ comparison.score|format_mark }}/{{ comparison.max }}
</td>
{% comment %} TODO: Include previous scorecards score(2023) {% endcomment %}
<td class="js-previous-year-score border-bottom">
<span class="fs-6">{{ comparison.score|format_mark }} <span class="fs-7">out of </span> {{ comparison.max }}
</span>
{{ comparison.score|format_mark }}/{{ comparison.max }}
</td>
<td class="border-end border-bottom border-opacity-25 text-center">
{% comment %} TODO: Change bg-green-100 to bg-red-100 if comparison is negative {% endcomment %}
Expand Down

0 comments on commit 6877e1f

Please sign in to comment.