{% endblock %}
{% block leftnav %}
{% include 'cosinnus/user/leftnav.html' with view="edit_notifications" %}
{% endblock leftnav %}
{% block content %}
{% if not request.user|cosinnus_setting:"notifications_help_text" %}
{% trans "Select which notifications you would like to receive for each group or project you are involved in." %}
{% trans "These notifications will be sent to your configured email address:" %} {{ request.user.email }}
{% trans 'You can choose to receive notifications as soon as they happen, or you can receive a daily (or weekly) e-mail digest.' %}
{% trans 'The digest will aggregate all notifications with the "Daily" (or "Weekly") setting from all groups and projects. So you will receive only a single e-mail per day (or week) containing everything interesting that happend.' %}
{% trans 'Notifications you set to "Immediately" will be e-mailed to you as soon as they happen, with one e-mail per notification.' %}
{% trans "Don't forget to save your settings once you are done editing them!" %}
{% endif %}
{% captureas label %}{% trans "This will reset all of your notification preferences to their default setting. Are you sure you wish to do that?" %}{% endcaptureas %}
{% captureas title %}{% trans "Reset to default" %}{% endcaptureas %}
{% url 'cosinnus:reset-notifications' as reset_url %}
{% include "cosinnus/modal_box.html" with id="reset_notifications_modal" label=label title=title form_action=reset_url %}
{% endblock content %}
{% block extrafooter %}
{{ block.super }}
{% endblock extrafooter %}