{% extends 'associations/detail.html' %} {% load rules %} {% load i18n %} {% block meta %} {% include 'content/_meta.html' with content=association.container %} {% endblock %} {% block heading_title %} {% trans 'Contribution' %} {% endblock %} {% block heading_toolbar %}
{% has_perm 'content.change' user association as can_edit %} {% if can_edit %} {% trans 'Edit' %} {% endif %}
{% endblock %} {% block sidebar %} {{ block.super }} {% if association.container.image %} {% include 'content/_sidebar_image.html' with image=association.container.image %} {% endif %} {% endblock %} {% block content %}
{% block content_meta %}{% include 'content/_info.html' %}{% endblock %} {% block content_type %} {% trans 'Contribution' %} {% endblock %} {% include 'content/_content_visibility.html' %}

{{ association.container.title }}

{% block user_content_header %}{% endblock %} {% block content_text %} {% markdown association.container.versions.last.text heading_baselevel=2 %} {% endblock %} {% if association.entity.is_group %} {% load rules %} {% has_perm 'subscriptions.create' user association.entity as can_subscribe %} {% if can_subscribe %}
{% if user.is_authenticated %}
{% csrf_token %}
{% else %} {% trans 'Subscribe to this group' %} {% endif %} {% trans 'to receive prospective contribution of the group' %} @{{ association.entity.slug }} {% trans 'by e-mail' %}
{% endif %} {% endif %}
{% endblock %}