{% extends 'standingssync/_base.html' %} {% load i18n %} {% load humanize %} {% load standingssync %} {% block details %}
Start | Aggressor | Defender | Allies | Finish | Active | |
---|---|---|---|---|---|---|
{% if war.state == State.PENDING %} {% elif war.state == State.FINISHED %} {% else %} {% endif %} | {{ war.started|naturaltime }} | {% war_participant war.aggressor %} | {% war_participant war.defender %} |
{% for ally in war.allies %}
{% war_participant ally %} {% empty %} - {% endfor %} |
{% if war.finished %} {{ war.finished|naturaltime }} {% else %} - {% endif %} | {% if war.is_active %}yes{% else %}no{% endif %} |
Pending war Active war Finished war
{% endblock %} {% block extra_javascript %} {% include 'bundles/datatables-js.html' %} {% include 'bundles/filterdropdown-js.html' %} {% endblock %} {% block extra_css %} {{ block.super }} {% include 'bundles/datatables-css.html' %} {% endblock %}