From 0c4723f1b6e7c6f59579221b0a24ffb4c5a54af5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E2=80=9COMosimege=E2=80=9D?= <“onalerona.mosimege@gmail.com”> Date: Tue, 23 Jul 2024 11:15:38 +0200 Subject: [PATCH] remove download button if there is no document uploaded --- app/templates/app/document_detail.html | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/app/templates/app/document_detail.html b/app/templates/app/document_detail.html index 478670aa..d0f90b5c 100644 --- a/app/templates/app/document_detail.html +++ b/app/templates/app/document_detail.html @@ -15,11 +15,13 @@

{{ document.title }}

- - - + {% if document.uploaded_file %} + + + + {% endif %}