Skip to content

Commit b8b62fe

Browse files
committed
Merge remote-tracking branch 'origin/fix/project_doc_templates_url' into test
2 parents 56b31c9 + e410ec8 commit b8b62fe

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

hypha/apply/projects/templates/application_projects/partials/contracting_category_documents.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
{% if document_category.required %}<span class="text-red-700">*</span>{% endif %}
2828
{% if document_category.template %}
2929
{% heroicon_mini "information-circle" class="inline align-middle fill-light-blue" aria_hidden=true %}
30-
<a class="font-semibold border-b-2 border-dashed" href="{% url 'apply:projects:category_template' pk=object.pk type='contract_document' category_pk=document_category.pk %}" target="_blank">{% trans "View template" %}</a>
30+
<a class="font-semibold border-b-2 border-dashed" href="{% url 'apply:projects:category_template' pk=object.submission.pk type='contract_document' category_pk=document_category.pk %}" target="_blank">{% trans "View template" %}</a>
3131
{% endif %}
3232
</span>
3333
{% if document_category not in remaining_contract_document_categories %}

hypha/apply/projects/templates/application_projects/partials/supporting_documents.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
{% if document_category.required %}<span class="text-red-700">*</span>{% endif %}
2323
{% if document_category.template %}
2424
<a class="font-semibold transition-opacity hover:opacity-70"
25-
href="{% url 'apply:projects:category_template' pk=object.pk type='project_document' category_pk=document_category.pk %}"
25+
href="{% url 'apply:projects:category_template' pk=object.submission.pk type='project_document' category_pk=document_category.pk %}"
2626
target="_blank"
2727
>
2828
<span class="border-b-2 border-dashed">

0 commit comments

Comments
 (0)