{% load static %} {% load i18n %} {% load evelinks %}
{% for st in corps %} {% endfor %}
{% trans "Corporation" %} {% trans "Alliance" %} {% trans "Keys/Req" %} {% trans "Standing" %} {% trans "Actions" %}
    {{ st.corp.corporation_name }} {{ st.corp.alliance_name|default_if_none:"" }} {{ st.token_count }}/{{ st.corp.member_count }}

{% if st.inOrganisation == True %} {% elif st.requestActioned == True %} {% elif st.pendingRequest == True %} {% elif st.pendingRevocation == True %} {% elif st.standing == None and st.pendingRequest == False %} {% else %} {% include 'standingsrequests/partials/_standing.html' with standing=st.standing %} {% endif %}

{% if st.pendingRequest == True or st.requestActioned == True %} Cancel {% elif st.pendingRevocation == True %} {% elif not st.hasStanding %} {% if st.token_count >= st.corp.member_count %}  Apply  {% else %} {% endif %} {% else %} Revoke {% endif %}