{% extends "userprofile/base.html" %} {% load i18n %} {% load pagination_tags %} {% load txcommontags %} {% block title %}{{ block.super }} | {% trans "Notifications" %}{% endblock %} {% block breadcrumb %}{{ block.super }} » {% trans "Notifications" %}{% endblock %} {% block content_title %}

{% trans "Notification settings" %}

{% endblock %} {% block extra_head %} {% endblock %} {% block content %}

{% trans "Notices" %}

{% autopaginate notices %} {% if notices %} {% trans "Mark all unseen notices seen" %} {# TODO: get timezone support working with regroup #} {% regroup notices by added.date as notices_by_date %} {% for date in notices_by_date %}

{{ date.grouper }}

{% for notice in date.list %} {% if notice.is_unseen %}
{% else %}
{% endif %} [{% trans notice.notice_type.display %}] {{ notice.message|safe }} {{ notice.added }}
{% endfor %} {% endfor %} {% paginate %} {% else %}

{% trans "No notices." %}

{% endif %}

-------------------------------------------------------------

{% with user.email as user_email %} {% if user_email %}

{% blocktrans %}You can receive notifications whenever an event occurs in Transifex. Check the notifications available for you on the list below and choose which events you would like to be notified by email.{% endblocktrans %}

{% trans "Primary email" %}: {{ user_email }}
({% trans "change under" %} {% trans "Account" %}) {% else %}

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

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