Ajout d'outils pour le debug
This commit is contained in:
		@@ -24,7 +24,7 @@
 | 
			
		||||
 | 
			
		||||
            <form method="post">{% csrf_token %}
 | 
			
		||||
                {{ form.as_p }}
 | 
			
		||||
                <div class="grid">
 | 
			
		||||
                <div class="grid buttons">
 | 
			
		||||
                    <a href="{% if request.META.HTTP_REFERER %}{{ request.META.HTTP_REFERER }}{% else %}{% url 'duplicates' %}{% endif %}" role="button" class="secondary">Annuler</a>
 | 
			
		||||
                    <input type="submit" value="Appliquer">
 | 
			
		||||
                </div>
 | 
			
		||||
@@ -66,5 +66,15 @@
 | 
			
		||||
        {% endif %}
 | 
			
		||||
    {% endfor %}
 | 
			
		||||
</article>
 | 
			
		||||
 | 
			
		||||
<article>
 | 
			
		||||
    <header><h2>Informations techniques</h2></header>
 | 
			
		||||
    {% for e in object.get_duplicated %}
 | 
			
		||||
    <article>
 | 
			
		||||
        <h3>{{ e }}</h3>
 | 
			
		||||
        {% include "agenda_culturel/event-info-inc.html" with object=e %}
 | 
			
		||||
    </article>
 | 
			
		||||
    {% endfor %}
 | 
			
		||||
</article>
 | 
			
		||||
{% endblock %}
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
@@ -13,7 +13,20 @@
 | 
			
		||||
{% block content %}
 | 
			
		||||
 | 
			
		||||
<div class="grid two-columns">
 | 
			
		||||
    <div>
 | 
			
		||||
    {% include "agenda_culturel/single-event/event-single-inc.html" with event=event filter=filter %}
 | 
			
		||||
 | 
			
		||||
    <article>
 | 
			
		||||
        <header>
 | 
			
		||||
            <h2>Informations internes</h2>
 | 
			
		||||
        </header>
 | 
			
		||||
        {% if user.is_authenticated %}
 | 
			
		||||
        {% include "agenda_culturel/event-info-inc.html" with object=event %}
 | 
			
		||||
        {% endif %}
 | 
			
		||||
    </article>
 | 
			
		||||
 | 
			
		||||
    </div>
 | 
			
		||||
 | 
			
		||||
    <aside>
 | 
			
		||||
        {% with event.get_concurrent_events as concurrent_events %}
 | 
			
		||||
        {% if concurrent_events %}
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user