{% extends "allianceauth/base-bs5.html" %} {% load static %} {% block page_title %}Contacts{% endblock %} {% block content %}
{% include "aa_altcorp/_page_header.html" with title="Configured contacts" subtitle="Review labels, standings, and existing associations." active_tab="contacts" %} {% if configuration_missing %}{% endif %} {% if settings.standing_target_id %}

Standing target: {{ settings.standing_target_type|capfirst }} {{ settings.standing_target_id }}

{% endif %} {% if contact_rows %}
{% for row in contact_rows %}{% endfor %}
ContactTypeStandingLabelsAssociation
{{ row.name }}{{ row.contact.contact_type|capfirst }}{{ row.contact.standing }}{% for label in row.contact.labels.all %}{{ label.label_name }}{% empty %}No labels{% endfor %}{% for association in row.associations %}{{ association }}{% empty %}{% if row.can_associate and perms.aa_altcorp.manage_relationships %}
{% csrf_token %}
{% elif row.can_associate %}Not associated{% else %}{% endif %}{% endfor %}
{% elif contacts_reason == "not_installed" %}
aa-contacts is not installed on this Alliance Auth instance, so there are no contacts to review.
{% elif contacts_reason == "no_target" %}{% elif contacts_diagnosis.total %}{% else %}
aa-contacts has no contacts stored at all yet. Link a contacts token in aa-contacts, then run aa_contacts.tasks.update_all_contacts.
{% endif %}
{% endblock %} {% block extra_javascript %} {% endblock %}