{% extends 'base.html.twig' %} {% block title %}{{ 'lang.trustedIps' | trans }}{% endblock %} {% block body %}

{{ 'lang.trustedIps' | trans }}

{% for message in app.flashes('success') %} {% endfor %} {% for message in app.flashes('error') %} {% endfor %} {% if trusted_ips is empty %}
{{ 'lang.noTrustedIps' | trans }}
{% else %}
{% for trusted_ip in trusted_ips %} {% endfor %}
{{ 'lang.ipAddress' | trans }} {{ 'lang.notes' | trans }} {{ 'lang.createdAt' | trans }} {{ 'lang.updatedAt' | trans }} {{ 'lang.actions' | trans }}
{{ trusted_ip.ipAddress }} {% if trusted_ip.notes %} {{ trusted_ip.notes }} {% else %} {{ 'lang.noNotes' | trans }} {% endif %} {{ trusted_ip.createdAt | date('d.m.Y H:i') }} {% if trusted_ip.updatedAt %} {{ trusted_ip.updatedAt | date('d.m.Y H:i') }} {% else %} - {% endif %}
{{ 'lang.edit' | trans }}
{% endif %}
{% endblock %}