{% extends 'admin/layout.html.twig' %} {% block page_title %}Statuts{% endblock %} {% block breadcrumb %}/Statuts{% endblock %} {% block header_action %}+ Nouveau statut{% endblock %} {% block content %}
{{ statuses|length }} statut{{ statuses|length != 1 ? 's' }}
{% if statuses is empty %}

Aucun statut. Créer le premier →

{% else %} {% for s in statuses %} {% endfor %}
IDOriginNomJeuRestrictionDuréeFin combatFin tourFin actionCaché
{{ s.id }} {% if s.originalId %}{{ s.originalId }}{% else %}—{% endif %} {{ s.name }} {{ ('game.id.' ~ s.gameId)|trans({}, 'game') }} {% if s.restrictionType > 0 %} {{ ('status.restriction_type.' ~ s.restrictionType)|trans({}, 'game') }} {% else %}—{% endif %} {% if s.minTurns is not null or s.maxTurns is not null %} {% if s.minTurns == s.maxTurns %}{{ s.minTurns }}t {% elseif s.minTurns is not null and s.maxTurns is not null %}{{ s.minTurns }}–{{ s.maxTurns }}t {% elseif s.minTurns is not null %}{{ s.minTurns }}+t {% else %}≤{{ s.maxTurns }}t{% endif %} {% elseif s.footsteps is not null %}{{ s.footsteps }} pas {% else %}—{% endif %} {% if s.endsAfterBattle %}✓{% else %}—{% endif %} {% if s.endsAfterTurn %}✓{% else %}—{% endif %} {% if s.endsAfterAction %}✓{% else %}—{% endif %} {% if s.hideInResults %}✓{% else %}—{% endif %}
Modifier
{% endif %} {% endblock %}