diff --git a/archivist/apps/templates/sites/submission.html b/archivist/apps/templates/sites/submission.html index aacb885..b1506db 100644 --- a/archivist/apps/templates/sites/submission.html +++ b/archivist/apps/templates/sites/submission.html @@ -41,6 +41,8 @@ {% if submission.content_object.files.all|length == 1 %} + {% if submission.content_object.files.first.file_mime|is_flash %} +
{% elif submission.content_object.files.first.file_mime|is_image %} {% endblock content %} + +{% block scripts %} + +{% if submission.content_object.files.first.file_mime|is_flash or submission.content_object.file != None %} + + +{% endif %} + +{% endblock scripts %}