diff --git a/hypha/apply/funds/models/utils.py b/hypha/apply/funds/models/utils.py index f1816417870485be6cea21316feee989e55247ff..1c5de3edc8b781d920e6da62a79858a408000ccc 100644 --- a/hypha/apply/funds/models/utils.py +++ b/hypha/apply/funds/models/utils.py @@ -110,7 +110,7 @@ class WorkflowStreamForm(WorkflowHelpers, AbstractStreamForm): # type: ignore user=form_submission.user, source=form_submission, ) - return super().render_landing_page(request, form_submission=None, *args, **kwargs) + return super().render_landing_page(request, form_submission, *args, **kwargs) content_panels = AbstractStreamForm.content_panels + [ FieldPanel('workflow_name'), diff --git a/hypha/apply/funds/templates/funds/application_base_landing.html b/hypha/apply/funds/templates/funds/application_base_landing.html index 2d8ac2c8dd483023a3dc0baf63cb30a2100f14f9..b1d5080fabaabec350895f4264a896515c1b85d7 100644 --- a/hypha/apply/funds/templates/funds/application_base_landing.html +++ b/hypha/apply/funds/templates/funds/application_base_landing.html @@ -2,9 +2,17 @@ {% block header_modifier %}header--light-bg{% endblock %} {% block content %} <div class="wrapper wrapper--small"> - <h3>Thank you for your submission to the {{ ORG_LONG_NAME }}.</h3> + {% if form_submission.status == 'draft' %} + <h3>Your application is saved as a draft.</h3> + {% else %} + <h3>Thank you for your submission to the {{ ORG_LONG_NAME }}.</h3> + {% endif %} <div class="rich-text"> - <p>An e-mail with more information has been sent to the address you entered.</p> + {% if form_submission.status == 'draft' %} + <p>Please note that it is not submitted for review. You can complete your application by following the log-in details emailed to you.</p> + {% else %} + <p>An e-mail with more information has been sent to the address you entered.</p> + {% endif %} <p>If you do not receive an e-mail within 15 minutes please check your spam folder and contact {{ ORG_EMAIL|urlize }} for further assistance.</p> {% with email_context=page.specific %}<p>{{ email_context.confirmation_text_extra|urlize }}</p>{% endwith %}