Skip to content

Commit

Permalink
Completely hide some documents for now
Browse files Browse the repository at this point in the history
  • Loading branch information
tudoramariei committed Oct 29, 2024
1 parent 890172d commit b5525cc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions backend/hub/templates/hub/candidate/detail.html
Original file line number Diff line number Diff line change
Expand Up @@ -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 %}

</div>
Expand Down

0 comments on commit b5525cc

Please sign in to comment.