From b5525cc94815f8cbf0673a74fd5c2581c194c208 Mon Sep 17 00:00:00 2001 From: Tudor Amariei Date: Tue, 29 Oct 2024 09:02:19 +0200 Subject: [PATCH] Completely hide some documents for now --- backend/hub/templates/hub/candidate/detail.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/backend/hub/templates/hub/candidate/detail.html b/backend/hub/templates/hub/candidate/detail.html index 80d1cd7e..10c95ee3 100644 --- a/backend/hub/templates/hub/candidate/detail.html +++ b/backend/hub/templates/hub/candidate/detail.html @@ -142,12 +142,12 @@ {% if candidate.fiscal_record %} {% trans "Fiscal record" as doc_name %} - {% include "hub/partials/document.html" with document_url=candidate.fiscal_record.url document_name=doc_name %} + {% include "hub/partials/document.html" with document_url=candidate.fiscal_record.url document_name=doc_name can_view_secret_files=False is_secret=True %} {% endif %} {% if candidate.criminal_record %} {% trans "Criminal record" as doc_name %} - {% include "hub/partials/document.html" with document_url=candidate.criminal_record.url document_name=doc_name %} + {% include "hub/partials/document.html" with document_url=candidate.criminal_record.url document_name=doc_name can_view_secret_files=False is_secret=True %} {% endif %}