{% extends "clairvia/base.html" %} {% block page %}legal{% endblock %} {% block title %}{{ lg[legal_page].title }} - Clairvia{% endblock %} {% block header %}
{{ ic.mark(28) }}Clairvia
{% endblock %} {% block main %} {%- set body = lg[legal_page] %}

{{ ic.icon(legal_icons[legal_page]) }}{{ body.title }}

{{ body.intro }}

{{ ic.icon('seal') }}

{{ lg.operator_title }}

{%- if operator %}

{{ operator.name }}

{{ operator.identity }}

{%- else %}

{{ ic.icon('alert') }}{{ lg.operator_missing }}

{%- endif %}
{%- for section in body.sections %}

{{ section.h }}

{%- set paragraphs = section.p or [] %} {%- if paragraphs %}

{{ paragraphs[0] }}

{% endif %} {%- if section.li %} {%- endif %} {%- for paragraph in paragraphs[1:] %}

{{ paragraph }}

{% endfor %} {%- if operator and ((legal_page == 'contact' and section.id == 'address') or (legal_page == 'report' and section.id == 'send')) %} {%- set target = operator.contact if legal_page == 'contact' else operator.report %}

{{ ic.icon('chat') }}{{ target[7:] if target.startswith('mailto:') else target }}

{%- endif %} {%- if operator and legal_page == 'contact' and section.id == 'address' %}
{{ lg.languages }}
{{ operator_languages | join(', ') }}
{%- endif %}
{%- endfor %}
{% endblock %}