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

{% trans "News" %}

{% include "generic_language_switcher.html" with target="push_notifications" %} {% include "search_input_form.html" with object_type="push_notification" language_slug=language.slug %}
{% if perms.cms.change_pushnotification %} {% trans "Create news message" %} {% endif %}
{% 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 %}
{% trans "Title" %} {% trans "Channel" %}
{% spaceless %} {% for lang in languages %} {% endfor %} {% endspaceless %}
{% trans "Last updated" %} {% trans "Sent" %}
{% if search_query %} {% trans "No push notifications found with these filters." %} {% else %} {% trans "No push notifications available yet." %} {% endif %}
{% url "push_notifications" as url %} {% include "pagination.html" with chunk=push_notifications %} {% endblock content %}