{% load i18n %} {% load bootstrap3 %} {% if order.status == "n" %} {% if order.require_approval %} {% trans "Approval pending" %} {% else %} {% trans "Pending" %} {% endif %} {% elif order.status == "p" %} {% if order.count_positions == 0 %} {% trans "Canceled (paid fee)" %} {% else %} {% trans "Paid" %} {% endif %} {% elif order.status == "e" %} {# expired #} {% trans "Expired" %} {% elif order.status == "c" %} {% trans "Canceled" %} {% endif %}