diff --git a/lacommunaute/templates/forum_conversation/forum_attachments/attachments_detail.html b/lacommunaute/templates/forum_conversation/forum_attachments/attachments_detail.html index 912d590f4..c56b248b2 100644 --- a/lacommunaute/templates/forum_conversation/forum_attachments/attachments_detail.html +++ b/lacommunaute/templates/forum_conversation/forum_attachments/attachments_detail.html @@ -6,6 +6,7 @@ {% if post.attachments.exists and user_can_download_files %}
{% for attachment in post.attachments.all %} + {% comment %}to prevent failure in dev, when files don't exist{% endcomment %} {% if attachement %} {% if not attachment|is_image %}