|
{{ row.notification_type.name }}
{% if row.notification_type.description %}
{% endif %}
{% if frequencies|length > 1 and row.offers_frequency %}
{% blocktrans asvar frequency_label with type=row.notification_type.name %}How often {{ type }} arrive by email{% endblocktrans %}
{% trans "Email" %}
{% for key, label in frequencies %}
{% endfor %}
{# A disabled select is not sent, so the choice rides here while email is off. The server writes both attributes, so the form works without script too. #}
{% endif %}
|
{% for key, choice in row.channels.items %}
{% if choice.forbidden %}
—{% trans "Not available" %}
{% else %}
{% blocktrans asvar label with type=row.notification_type.name channel=choice.channel.name %}{{ type }} by {{ channel }}{% endblocktrans %}
{% if choice.required %}
{% elif choice.enabled %}
{% else %}
{% endif %}
{% endif %}
|
{% endfor %}
{% endfor %}