{% extends "mvp/account/overview.html" %}
{% load i18n %}
{% comment %}
`url … as` leaves the variable empty instead of raising, so a page allauth
has not routed (phone numbers off, or no allauth) gets no card.
{% endcomment %}
{% block account.cards %}
{{ block.super }}
{% url "account_email" as email_url %}
{% if email_url %}
{% trans "Add, remove and verify the addresses on your account, and choose the one we write to." %}
{% trans "Manage email" %}
{% endif %}
{% url "account_change_password" as password_url %}
{% if password_url %}
{% trans "Change the password you sign in with, or set one if you do not have one yet." %}
{% trans "Change password" %}
{% endif %}
{% url "account_change_phone" as phone_url %}
{% if phone_url %}
{% trans "Add or change the phone number on your account." %}
{% trans "Change phone number" %}
{% endif %}
{% url "socialaccount_connections" as connections_url %}
{% if connections_url %}
{% trans "See the accounts you can sign in with, connect another one, or remove one." %}
{% trans "Manage connected accounts" %}
{% endif %}
{% url "mfa_index" as two_factor_url %}
{% if two_factor_url %}
{% trans "Add a second step to signing in, so a stolen password is not enough on its own." %}
{% trans "Manage two-factor authentication" %}
{% endif %}
{% url "usersessions_list" as sessions_url %}
{% if sessions_url %}
{% trans "See the browsers and devices signed in to your account, and sign out the others." %}
{% trans "Manage sessions" %}
{% endif %}
{% endblock account.cards %}