{% set failuresLocked = app['repo.auth-failures'].findBy({}, {'created': 'desc'}) %} {% if failuresLocked | length > 0 %} {% for failure in failuresLocked %} {% endfor %}
{{ 'admin::users: username' | trans }} {{ 'admin::users: ip' | trans }} {{ 'admin::users: locked' | trans }} {{ 'admin::users: creation date' | trans }}
{{ failure.getUsername() }} {{ failure.getIp() }} {{ failure.getLocked()? 'true': 'false' }} {{ failure.getCreated() | date('Y-m-d H:i:s') }}
{% endif %}