From: Guillaume Pellerin Date: Tue, 22 Dec 2015 10:55:39 +0000 (+0100) Subject: fix modal div X-Git-Tag: 1.6b~7^2~26 X-Git-Url: https://git.parisson.com/?a=commitdiff_plain;h=7a53c8b691dc3fdc61f6d060aa84c5268306986e;p=telemeta.git fix modal div --- diff --git a/telemeta/templates/telemeta/mediaitem_detail.html b/telemeta/templates/telemeta/mediaitem_detail.html index 43d3e758..9e72bcf1 100644 --- a/telemeta/templates/telemeta/mediaitem_detail.html +++ b/telemeta/templates/telemeta/mediaitem_detail.html @@ -387,17 +387,6 @@ {% endif %} -{% endblock content %} - -{% block delete %} -{% if user.is_authenticated and perms.telemeta.delete_mediaitem %} - - - -{% endif %} -{% endblock %} {% block modal %} {% endblock %} +{% endblock content %} + +{% block delete %} +{% if user.is_authenticated and perms.telemeta.delete_mediaitem %} + + + +{% endif %} +{% endblock %} + {% else %}

No such item

{% endif %}