From c6be1cb7780cf0a0b2930e30f1b783ac45d7bcc4 Mon Sep 17 00:00:00 2001 From: Aroy-Art Date: Fri, 27 Dec 2024 21:43:19 +0100 Subject: [PATCH] Add: pdf view to submission view --- archivist/apps/templates/sites/submission.html | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/archivist/apps/templates/sites/submission.html b/archivist/apps/templates/sites/submission.html index 0a067b4..aacb885 100644 --- a/archivist/apps/templates/sites/submission.html +++ b/archivist/apps/templates/sites/submission.html @@ -48,8 +48,19 @@ alt="{{ submission.content_object.title }}"/> + {% elif submission.content_object.files.first.file_mime|is_pdf %} + + + + + + {% endif %} + {% endif %} {% else %}