Skip to content

Commit 7a0718c

Browse files
Do not add the submissions list to team scoreboards
Part of #2427
1 parent 82c4644 commit 7a0718c

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

webapp/templates/partials/scoreboard_table.html.twig

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -308,6 +308,7 @@
308308
{% endif %}
309309
{% endif %}
310310
311+
{% set link = null %}
311312
{% set extra = null %}
312313
{% if jury %}
313314
{% set restrict = {problemId: problem.probid} %}
@@ -317,7 +318,7 @@
317318
{% set extra = 'data-submissions-url="' ~ path('public_submissions_data') ~ '"' %}
318319
{% set extra = extra ~ ' data-team-id="' ~ score.team.externalid ~ '"' %}
319320
{% set extra = extra ~ ' data-problem-id="' ~ problem.externalid ~ '"' %}
320-
{% else %}
321+
{% elseif public %}
321322
{% set link = path('public_submissions', {teamId: score.team.externalid, problemId: problem.externalid}) %}
322323
{% set extra = 'data-submissions-url="' ~ path('public_submissions_data_cell', {teamId: score.team.externalid, problemId: problem.externalid}) ~ '"' %}
323324
{% set extra = extra ~ ' data-team-id="' ~ score.team.externalid ~ '"' %}

0 commit comments

Comments
 (0)