{% extends "cosinnus_note/base.html" %} {% load i18n cosinnus_tags widget_tweaks %} {% block page_title %}{% trans "Notes" %}: {{group.name}} {% endblock %} {% block breadcrumb %} {{ block.super }} {% endblock %} {% block leftnav %} {% endblock leftnav %} {% block extrahead %} {{ block.super }} {% endblock %} {% block content %}
{% include 'cosinnus/common/filter_controls.html' %} {% if user|can_create_objects_in:group %}
{% include 'cosinnus_note/note_form_modal.html' %}
{% endif %} {% if not pagination.number == 1 %} {% include "cosinnus/utils/pagination.html" with widget=pagination %} {% endif %} {% for note in object_list %} {% include 'cosinnus_note/single_note_detailed.html' with object=note %} {% empty %} {% include 'cosinnus/common/empty_button.html' with message="There are no news posts yet" %} {% endfor %} {% include "cosinnus/utils/pagination.html" with widget=pagination %}
{% endblock %}