{% spaceless %}
{% if preview_file %}
    {% if not preview_file.is_icon %}
        {% include "media_tree/filenode/includes/thumbnail.html" %}
    {% else %}
        {% include "media_tree/filenode/includes/icon.html" %}
    {% endif %}
{% endif %}
{% endspaceless %}
