{# IP Block Mobile Card Component #}
{# Header: IP + Status #}

{{ item.ipAddress }}

{% if item.country or item.city %}

{{ item.country }}{% if item.city %}, {{ item.city }}{% endif %}

{% endif %}
{% if item.isPermanent %} Permanent {% elseif item.isActive %} Temporaire {% else %} Expiré {% endif %}
{# Reason #} {% if item.reason %}
Raison
{{ item.reason }}
{% endif %} {# Info Grid #}
Score de menace
{{ item.threatScore|default(0) }}/100
Échecs
{{ item.failedAttempts|default(0) }}
Bloqué le
{{ item.blockedAt|date('d/m/Y') }}
{% if not item.isPermanent %}
Expire le
{{ item.expiresAt|date('d/m/Y') }}
{% endif %}
{# Footer: Actions #}
Détails {% if item.isActive %} {% endif %}