{% 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 %}
| 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 }} |
{{ 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 %}no teams
{% else %}| ID | Teamname |
|---|---|
| {{ team | entityIdBadge('t') }} | {{ team.effectiveName }} |