{% extends 'admin/layout.html.twig' %} {% block page_title %}Statuts MMO{% endblock %} {% block breadcrumb %} /CSIWO / {% endblock %} {% block header_action %}+ Nouveau statut{% endblock %} {% block content %}
{% if statuses is empty %}Aucun statut. Créer le premier →
{% else %}| ID | Nom | Restriction | Durée | Fin combat | Fin tour | Fin action | |
|---|---|---|---|---|---|---|---|
| {{ s.id }} | {{ s.name }} | {% 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 %} |