{% extends "agenda_culturel/page-single.html" %}
{% load static %}

 {% block content %}
 <article>
    <header>
        <h1>{{ title }}</h1>
    </header>
    <div class="image-flottante"><img src="{% static 'images/alunissage.svg' %}" alt="deux pommes qui alunissent" /></div>
    {% include "agenda_culturel/static_content.html" with name=static_content url_path=url_path %}
    <ul>
        {% for rimport in rimports %}
            <li><a href="{{ rimport.browsable_url }}">{{ rimport.name }}</a>
                {% if user.is_authenticated %}({{ rimport.nb_events }} événements <a href="{{ rimport.get_absolute_url }}">importés</a>){% else %}({{ rimport.nb_events }} événements importés){{% endif %}</li>
        {% endfor %}
    </ul>
</article>


 {% endblock %}