{% load i18n %}

{% trans "Informations related to your family" %}

{% if not user.is_authenticated %}

{% trans "You have to connect and link your account to a family." %}

{% elif error %}

{{error}}

{% elif not family.data %}

{% trans "No family linked to your account." %}

{% url 'family-link' as link_url %}

{% blocktrans %} If you have family credentials, please click here to link your personal account to it. {% endblocktrans %}

{% else %} {% with data=family.data %} {% if data.adults %}

{% trans "Adults" %}

{% endif %} {% if data.children %}

{% trans "Children" %}

{% endif %} {% endwith %} {% endif %}