|
94 | 94 | {% set target = '_self' %} |
95 | 95 | {% if not static %} |
96 | 96 | {% if jury %} |
97 | | - {% set link = path('jury_problem', {'probId': problem.probid}) %} |
| 97 | + {% set link = path('jury_problem', {'probId': problem.externalid}) %} |
98 | 98 | {% elseif problem.problem.problemstatementType is not empty %} |
99 | 99 | {% if public %} |
100 | 100 | {% set link = path('public_problem_statement', {probId: problem.externalid}) %} |
|
188 | 188 | {% if score.team.affiliation %} |
189 | 189 | {% set link = null %} |
190 | 190 | {% if jury %} |
191 | | - {% set link = path('jury_team_affiliation', {'affilId': score.team.affiliation.affilid}) %} |
| 191 | + {% set link = path('jury_team_affiliation', {'affilId': score.team.affiliation.externalid}) %} |
192 | 192 | {% endif %} |
193 | 193 | <a {% if link %}href="{{ link }}"{% endif %}> |
194 | 194 | {{ score.team.affiliation.country|countryFlag }} |
|
201 | 201 | {% if score.team.affiliation %} |
202 | 202 | {% set link = null %} |
203 | 203 | {% if jury %} |
204 | | - {% set link = path('jury_team_affiliation', {'affilId': score.team.affiliation.affilid}) %} |
| 204 | + {% set link = path('jury_team_affiliation', {'affilId': score.team.affiliation.externalid}) %} |
205 | 205 | {% endif %} |
206 | 206 | <a {% if link %}href="{{ link }}"{% endif %}> |
207 | 207 | {% set affiliationId = score.team.affiliation.externalid %} |
|
225 | 225 | {% set extra = null %} |
226 | 226 | {% if static %} |
227 | 227 | {% set link = '#' %} |
228 | | - {% set extra = 'data-bs-toggle="modal" data-bs-target="#team-modal-' ~ score.team.teamid ~ '"' %} |
| 228 | + {% set extra = 'data-bs-toggle="modal" data-bs-target="#team-modal-' ~ score.team.externalid ~ '"' %} |
229 | 229 | {% else %} |
230 | 230 | {% if jury %} |
231 | | - {% set link = path('jury_team', {teamId: score.team.teamid}) %} |
| 231 | + {% set link = path('jury_team', {teamId: score.team.externalid}) %} |
232 | 232 | {% elseif public %} |
233 | 233 | {% set link = path('public_team', {teamId: score.team.externalid}) %} |
234 | 234 | {% set extra = 'data-ajax-modal' %} |
|
321 | 321 | {% set link = null %} |
322 | 322 | {% set extra = null %} |
323 | 323 | {% if jury %} |
324 | | - {% set restrict = {problemId: problem.probid} %} |
325 | | - {% set link = path('jury_team', {teamId: score.team.teamid, restrict: restrict}) %} |
| 324 | + {% set restrict = {problemId: problem.externalid} %} |
| 325 | + {% set link = path('jury_team', {teamId: score.team.externalid, restrict: restrict}) %} |
326 | 326 | {% elseif static %} |
327 | 327 | {% set link = '#' %} |
328 | 328 | {% set extra = 'data-submissions-url="' ~ path('public_submissions_data') ~ '"' %} |
|
462 | 462 | {% if score.team.affiliation %} |
463 | 463 | {% set link = null %} |
464 | 464 | {% if jury %} |
465 | | - {% set link = path('jury_team_affiliation', {'affilId': score.team.affiliation.affilid}) %} |
| 465 | + {% set link = path('jury_team_affiliation', {'affilId': score.team.affiliation.externalid}) %} |
466 | 466 | {% endif %} |
467 | 467 | <a {% if link %}href="{{ link }}"{% endif %}> |
468 | 468 | {{ score.team.affiliation.country|countryFlag }} |
|
475 | 475 | {% if score.team.affiliation %} |
476 | 476 | {% set link = null %} |
477 | 477 | {% if jury %} |
478 | | - {% set link = path('jury_team_affiliation', {'affilId': score.team.affiliation.affilid}) %} |
| 478 | + {% set link = path('jury_team_affiliation', {'affilId': score.team.affiliation.externalid}) %} |
479 | 479 | {% endif %} |
480 | 480 | <a {% if link %}href="{{ link }}"{% endif %}> |
481 | 481 | {% set affiliationId = score.team.affiliation.externalid %} |
|
499 | 499 | {% set extra = null %} |
500 | 500 | {% if static %} |
501 | 501 | {% set link = '#' %} |
502 | | - {% set extra = 'data-bs-toggle="modal" data-bs-target="#team-modal-' ~ score.team.teamid ~ '"' %} |
| 502 | + {% set extra = 'data-bs-toggle="modal" data-bs-target="#team-modal-' ~ score.team.externalid ~ '"' %} |
503 | 503 | {% else %} |
504 | 504 | {% if jury %} |
505 | | - {% set link = path('jury_team', {teamId: score.team.teamid}) %} |
| 505 | + {% set link = path('jury_team', {teamId: score.team.externalid}) %} |
506 | 506 | {% elseif public %} |
507 | | - {% set link = path('public_team', {teamId: score.team.teamid}) %} |
| 507 | + {% set link = path('public_team', {teamId: score.team.externalid}) %} |
508 | 508 | {% set extra = 'data-ajax-modal' %} |
509 | 509 | {% else %} |
510 | 510 | {% set link = path('team_team', {teamId: score.team.externalid}) %} |
|
572 | 572 |
|
573 | 573 | {% if static %} |
574 | 574 | {% for score in scores %} |
575 | | - {% embed 'partials/modal.html.twig' with {'modalId': 'team-modal-' ~ score.team.teamid} %} |
| 575 | + {% embed 'partials/modal.html.twig' with {'modalId': 'team-modal-' ~ score.team.externalid} %} |
576 | 576 | {% block title %}{{ score.team.effectiveName }}{% endblock %} |
577 | 577 | {% block content %} |
578 | 578 | {% include 'partials/team.html.twig' with {size: 6, team: score.team} %} |
|
604 | 604 | <td> |
605 | 605 | {% set link = null %} |
606 | 606 | {% if jury %} |
607 | | - {% set link = path('jury_team_category', {'categoryId': category.categoryid}) %} |
| 607 | + {% set link = path('jury_team_category', {'categoryId': category.externalid}) %} |
608 | 608 | {% endif %} |
609 | 609 | <a {% if link %}href="{{ link }}"{% endif %}>{{ category.name }}</a> |
610 | 610 | </td> |
|
0 commit comments