{% extends "mfa/webauthn/base.html" %}{% load i18n static humanize allauth %} {% block content %}

{% trans "Security Keys" %}

{% if authenticators|length == 0 %}

{% blocktrans %}No security keys have been added.{% endblocktrans %}

{% else %} {% for authenticator in authenticators %} {% endfor %}
{% trans "Key" %} {% trans "Usage" %}
{{ authenticator }} {% if authenticator.wrap.is_passwordless is True %} {% trans "Passkey" %} {% elif authenticator.wrap.is_passwordless is False %} {% trans "Security key" %} {% else %} {% trans "Unspecified" %} {% endif %} {% blocktrans with created_at=authenticator.created_at|date:"SHORT_DATE_FORMAT" trimmed %}Added on {{ created_at }}{% endblocktrans %}. {% if authenticator.last_used_at %} {% blocktrans with last_used=authenticator.last_used_at|naturaltime trimmed %}Last used {{ last_used }}{% endblocktrans %} {% else %} {% trans "Not used." %}{% endif %} {% trans "Edit" %} {% trans "Remove" %}
{% endif %} {% trans "Add" %}
{% endblock %}