{% extends "jury/base.html.twig" %} {% import "jury/jury_macros.twig" as macros %} {% block title %}Category {{ teamCategory.categoryid }} - {{ parent() }}{% endblock %} {% block extrahead %} {{ parent() }} {{ macros.table_extrahead() }} {% endblock %} {% block content %}

Category {{ teamCategory.name }}

{% if showExternalId(teamCategory) %} {% endif %} {% if teamCategory.color %} {% endif %}
ID {{ teamCategory.categoryid }}
External ID {{ teamCategory.externalid }}
ICPC ID {% if teamCategory.icpcid %} {{ teamCategory.icpcid }} {% else %} - {% endif %}
Sortorder {{ teamCategory.sortorder }}
Color {{ teamCategory.color }}
Visible {{ teamCategory.visible | printYesNo }}
Allow self-registration {{ teamCategory.allowSelfRegistration | printYesNo }}
{%- if is_granted('ROLE_ADMIN') -%}

{{ button(path('jury_team_category_edit', {'categoryId': teamCategory.categoryid}), 'Edit', 'primary', 'edit') }} {{ button(path('jury_team_category_delete', {'categoryId': teamCategory.categoryid}), 'Delete', 'danger', 'trash-alt', true) }} {{ button(path('jury_team_category_request_remaining', {'categoryId': teamCategory.categoryid}), 'Judge remaining testcases', 'secondary', 'gavel') }}

{% endif %}

Teams

{% if teamCategory.teams is empty %}

no teams

{% else %}
{% for team in teamCategory.teams %} {% endfor %}
ID Teamname
{{ team | entityIdBadge('t') }} {{ team.effectiveName }}

Submissions

{%- include 'jury/partials/submission_list.html.twig' with {showTestcases: false} %}
{% endif %} {% endblock %}