Corp: {{ auth_char.corporation_name }}
Alliance: {{ auth_char.alliance_name }}
{% if auth_char.application.member_state == auth_char.application.MembershipStates.ACCEPTED%}
WHC Member
{% endif %}
{% if not auth_char.is_in_approved_corp %}
{{ corp_requirements_message }}
{% elif auth_char.is_shared %}
{% if auth_char.is_main or auth_char.is_main_member %}
{% if auth_char.application.member_state == auth_char.application.MembershipStates.NOTAMEMBER%}
{% if auth_char.is_main %}
{% endif %}
Apply
{% endif %}
{% if auth_char.application.member_state == auth_char.application.MembershipStates.APPLIED%}
Your application is awaiting approval.
If you choose to withdraw it, you will be subject to a {{ withdraw_timeout }}-day timeout before you can reapply.
Withdraw
{% endif %}
{% if auth_char.application.member_state == auth_char.application.MembershipStates.REJECTED%}
You are currently under a timeout for: {{ auth_char.application.get_reject_reason_display }}
You will be able to apply again in: {{auth_char.application.reject_timeout|timeuntil}}
{% endif %}
{% if auth_char.application.member_state == auth_char.application.MembershipStates.ACCEPTED%}
Leave
{% endif %}
{% else %}
Your Main character has not been accepted. Please apply on Main first.
{% endif %}
{% else %}
This character has not been shared in Member Audit.
{% endif %}