{% extends "_base.html" %} {% load i18n %} {% load static %} {% load push_notification_filters %} {% block content %}

{% if is_archived %} {% translate "Archived news" %} {% else %} {% translate "News" %} {% endif %}

{% include "generic_language_switcher.html" with target="push_notifications" %} {% if is_archived %} {% include "search_input_form.html" with object_type="push_notification" language_slug=language.slug object_archived=True %} {% else %} {% include "search_input_form.html" with object_type="push_notification" language_slug=language.slug object_archived=False %} {% endif %}
{% if perms.cms.change_pushnotification and not is_archived %} {% endif %}
{% csrf_token %}
{% for push_notification in push_notifications %} {% get_translation push_notification language.slug as push_notification_translation %} {% include "push_notifications/push_notification_list_row.html" %} {% empty %} {% endfor %}
{% translate "Title" %} {% translate "Channel" %}
{% spaceless %} {% for lang in languages %} {% if lang != request.region.default_language %} {% endif %} {% endfor %} {% endspaceless %}
{% translate "Last updated" %} {% translate "Planned send date" %} {% translate "Sent" %} {% translate "Options" %}
{% if is_archived %} {% if search_query %} {% translate "No archived push notifications found with these filters." %} {% else %} {% translate "No push notifications archived yet." %} {% endif %} {% else %} {% if search_query %} {% translate "No push notifications found with these filters." %} {% else %} {% translate "No push notifications available yet." %} {% endif %} {% endif %}
{% if push_notifications %}
0 {% translate "Push notifications selected" %}
{% endif %} {% if perms.cms.archive_pushnotification %}
{% endif %} {% include "../generic_confirmation_dialog.html" %} {% url "push_notifications" as url %} {% include "pagination.html" with chunk=push_notifications %} {% endblock content %}