{% extends "cosinnus_event/base.html" %} {% load i18n static cosinnus_tags widget_tweaks %} {% block page_title %} {% trans "Events" %} {{ block.super }} {% endblock page_title %} {% block breadcrumb %} {{ block.super }}
  • {% trans "Kalender" %}
  • {% endblock %} {% block leftnav %} {% include "cosinnus_event/leftnav.html" %} {% endblock leftnav %} {% block content %} {% if not request.user or not request.user.is_authenticated %} {% include "cosinnus/not_logged_in_alert.html" %} {% endif %}
    {% if user.is_authenticated %} {% captureas content %}
    {% endcaptureas %} {% captureas title %}{% trans "iCal Feed" %}{% endcaptureas %} {% include "cosinnus/modal_box.html" with id="feedModal" label=content title=title title_icon="fa-calendar" %} {% endif %}
    {% if request.user and request.user.is_authenticated %} {% if user|can_create_objects_in:group %}
    • {% captureas placeholder %}{% trans "Enter the title for a new event or select a day in the Calendar." %}{% endcaptureas %}
    {% endif %}
    {% endif %}
    {% if request.user and request.user.is_authenticated %} {% endif %} {% endblock content %}