{% load i18n static %}

{% translate "Events whose attacking alliance matches a group member route their Discord notification to that group's own webhook instead of the default one - e.g. keep NPC faction activity (Guristas Pirates, Drifters, Sansha's Nation, ...) out of the main hostile-threat channel." %}

{% translate "Create a group" %}
{% csrf_token %}
{% if not groups %}
{% translate "No alert groups configured yet. Create one above, then add alliance names to it below." %}
{% endif %} {% for group in groups %}
{{ group.name }}
{% translate "View Activity" %}
{% csrf_token %}

{% if group.discord_webhook_url %} {% translate "Routes to its own Discord webhook." %} {% else %} {% translate "No webhook set yet - falls back to the default IntelPulse webhook." %} {% endif %}

{% csrf_token %}
{% translate "Hold Ctrl (Cmd on Mac) to select multiple." %}
{% if group.alliances.all %} {% for alliance in group.alliances.all %} {% endfor %}
{% translate "Name" %} {% translate "Added" %} {% translate "Actions" %}
{{ alliance.value }} {{ alliance.created_at|date:"Y-m-d H:i" }} UTC
{% csrf_token %}
{% else %}

{% translate "No alliances assigned yet." %}

{% endif %}
{% endfor %}