{% load i18n cosinnus_tags %}
{% if event.media_tag_object.location %}
{% endif %} {% if event.note and event.note|length > 0 %}
{% endif %} {% if event.url %}
{% endif %} {% include 'cosinnus/media_tags_readonly.html' with object=event %} {% if user|has_write_access:event %} {% captureas modal_id %}deleteModal_{{event.slug}}{% endcaptureas %} {% if event.state != 4 %} {# archived doodles cannot be edited #} {% if event.state == 2 %} {% captureas edit_url %}{% group_url "cosinnus:event:doodle-edit" group=group slug=event.slug %}{% endcaptureas %} {% else %} {% captureas edit_url %}{% group_url "cosinnus:event:event-edit" group=group slug=event.slug %}{% endcaptureas %} {% endif %} {% endif %} {% endif %} {% include 'cosinnus/feedback/report_button_btn.html' with object=event %}
{% if user|has_write_access:event %} {% if event.state == 2 %} {% captureas label %}{% blocktrans with title=event.title %}Do you really want to delete unscheduled event „{{ title }}“?{% endblocktrans %}{% endcaptureas %} {% captureas title %}{% trans "Delete unscheduled event" %}{% endcaptureas %} {% captureas action %}{% group_url 'cosinnus:event:doodle-delete' group=group slug=event.slug%}{% endcaptureas %} {% else %} {% captureas label %}{% blocktrans with title=event.title %}Do you really want to delete event „{{ title }}“?{% endblocktrans %}{% endcaptureas %} {% captureas title %}{% trans "Delete event" %}{% endcaptureas %} {% captureas action %}{% group_url 'cosinnus:event:event-delete' group=group slug=event.slug%}{% endcaptureas %} {% endif %} {% include "cosinnus/modal_box.html" with id=modal_id label=label title=title form_action=action %} {% endif %}