{% extends "base.html" %} {% block content %}

{{ t('create_login') }}

{{ t('company_profiles') }}

{% if profiles %}
{% for row in profiles %}

{{ t('viewing_profile') }}

{{ row.company.name }}

{% if row.status == 'ok' %}{{ t('healthy') }} {% elif row.status == 'watch' %}{{ t('needs_check') }} {% elif row.status == 'alert' %}{{ t('critical') }} {% else %}{{ t('no_readings') }}{% endif %}

{{ row.company.contact_person or '—' }}{% if row.company.phone %} · {{ row.company.phone }}{% endif %}

{% if row.company.address %}

{{ row.company.address }}

{% endif %}
{% endfor %}
{% else %}

{{ t('no_company_profiles') }}

{% endif %} {% endblock %}