{% if order.status == order.PENDING %} {% elif order.status == order.PLACED %} {% elif order.status == order.RECEIVED %} {% elif order.status == order.CANCELLED %} {% else %} {% endif %} {{ order.get_status_display }}