{% extends "notification/base.html" %} {% load i18n %} {% block head_title %}{% trans "Notification Settings" %}{% endblock %} {% block body %}

# {% trans "Notification Settings" %}

{% url "acct_email" as email_url %} {% if user.email %}

{% trans "Primary email" %}:
{{ user.email }}
({% blocktrans %}change under Account{% endblocktrans %})

{% else %}

{% trans "Note" %}: {% blocktrans %}You do not have a verified email address to which notices can be sent. You can add one by going to Account.{% endblocktrans %}

{% endif %} {# doubt this easy to do in uni-form #} {% csrf_token %}

{% trans "Notification Type" %} {% for header in notice_settings.column_headers %} | {{ header }} {% endfor %}
--- | ---
{% for row in notice_settings.rows %}
{% trans row.notice_type.display %} {% trans row.notice_type.description %} {% for cell in row.cells %} | {% endfor %}
{% endfor %}

{% endblock %}