{% extends "clairvia/base.html" %} {% block page %}data{% endblock %} {% block meta %}{% endblock %} {% block title %}{{ t('data_title') }} - Clairvia{% endblock %} {% block header %}
{{ ic.mark(28) }}Clairvia
{% endblock %} {% block main %}

{{ ic.icon('lock') }}{{ t('data_title') }}

{{ t('data_intro') }}

{%- if done %}

{{ ic.icon('check') }}{{ t('data_' ~ done) if done in ('erased', 'optedout', 'optedin') else '' }}

{%- endif %}
{{ ic.icon('database') }}

{{ t('data_contrib') }}

{%- if not enabled %}

{{ t('data_off') }}

{%- elif opted_out == 'cookie' %}

{{ t('data_optout_active') }}

{%- elif opted_out %}

{{ t('data_signal') }}

{%- else %}

{{ t('data_on', d=retention) }}

{%- endif %} {%- if enabled %}

{{ t('data_count', n=mine|length) }}

{%- if mine %} {{ ic.icon('list') }}{{ t('data_show') }} {%- endif %}
{%- if opted_out == 'cookie' %}
{%- elif not opted_out %}
{%- endif %}
{%- if show %} {%- if mine %} {% for row in mine %}{% endfor %}
{{ t('data_when') }}{{ t('data_query') }}
{{ row.day }}{{ row.query }}
{%- else %}

{{ t('data_none') }}

{%- endif %} {%- endif %} {%- endif %}
{{ ic.icon('shield') }}

{{ t('data_register') }}

{%- for entry in register %}
{{ entry.id }} {{ entry.what }}
{%- for field in ('where', 'form', 'never', 'not_kept', 'retention', 'erasure', 'access') %} {%- if entry[field] %}
{{ field }}
{{ entry[field] }}
{% endif %} {%- endfor %}
{%- endfor %}
{% endblock %}