{% extends "jury/base.html.twig" %} {% import "jury/jury_macros.twig" as macros %} {% block title %}Affiliation {{ teamAffiliation.affilid }} - {{ parent() }}{% endblock %} {% block extrahead %} {{ parent() }} {{ macros.table_extrahead() }} {% endblock %} {% block content %}
| ID | {{ teamAffiliation.affilid }} |
|---|---|
| External ID | {{ teamAffiliation.externalid }} |
| ICPC ID | {% if teamAffiliation.icpcid %} {{ teamAffiliation.icpcid }} {% else %} - {% endif %} |
| Shortname | {{ teamAffiliation.shortname }} |
| Logo |
{% set affiliationId = teamAffiliation.affilid %}
{% if showExternalId(teamAffiliation) %}
{% set affiliationId = teamAffiliation.externalid %}
{% endif %}
{% set affiliationLogo = affiliationId | assetPath('affiliation') %}
{% if affiliationLogo %}
|
| Country | {{ teamAffiliation.country | countryFlag(true) }} |
| Comments | {{ teamAffiliation.internalcomments }} |
{{ button(path('jury_team_affiliation_edit', {'affilId': teamAffiliation.affilid}), 'Edit', 'primary', 'edit') }} {{ button(path('jury_team_affiliation_delete', {'affilId': teamAffiliation.affilid}), 'Delete', 'danger', 'trash-alt', true) }}
{% endif %}no teams
{% else %}| ID | Teamname |
|---|---|
| {{ team | entityIdBadge('t') }} | {{ team.effectiveName }} |