Skip to content

Commit

Permalink
Fix columns for hearts on non public scoreboards
Browse files Browse the repository at this point in the history
  • Loading branch information
nickygerritsen committed Mar 1, 2025
1 parent bd9dc7a commit 3bb0492
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
3 changes: 3 additions & 0 deletions webapp/templates/partials/scoreboard_summary.html.twig
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,9 @@
{% set summaryColspan = summaryColspan + 1 %}
{% endif %}
{% endif %}
{% if public %}
{% set summaryColspan = summaryColspan + 1 %}
{% endif %}
<td class="scoresummary" title="Summary" colspan="{{ summaryColspan }}">Summary</td>
{% if enable_ranking %}
{% if scoreboard.showPoints %}
Expand Down
6 changes: 6 additions & 0 deletions webapp/templates/partials/scoreboard_table.html.twig
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,9 @@
{% if showAffiliationLogos %}
{% set teamColspan = teamColspan + 1 %}
{% endif %}
{% if not public %}
{% set teamColspan = teamColspan - 1 %}
{% endif %}
{# output table column groups (for the styles) #}
<colgroup>
Expand All @@ -48,6 +51,9 @@
{% else %}
<col/>
{% endif %}
{% if public %}
<col id="scorehearts"/>
{% endif %}
{% if showAffiliationLogos %}
<col id="scorelogos"/>
{% endif %}
Expand Down

0 comments on commit 3bb0492

Please sign in to comment.