Block incomplete requests to go live

Dealing with users who request to go live but haven’t completed all the
steps still represents a significant support overhead for our team.
We’ve made some improvements to the percentage of incomplete requests
with a better page design, but ultimately because it still shows the
button people think it’s OK to press the button while some of the items
on the page still say [Not completed].

We can do this now because organisations are in the database, which
means we can mark the agreement signed as soon as we get it back,
without having to deploy code.
This commit is contained in:
Chris Hill-Scott
2019-04-11 14:35:30 +01:00
parent 55eaa066f1
commit 436d023722
2 changed files with 77 additions and 14 deletions

View File

@@ -52,7 +52,15 @@
) }}
{% endif %}
{% endcall %}
{% if current_user.is_gov_user %}
{% if not current_user.is_gov_user %}
<p>
Only team members with a government email address can request to go live.
</p>
{% elif (not current_service.go_live_checklist_completed) or (show_agreement and not agreement_signed) %}
<p>
No go
</p>
{% else %}
<p>
When we receive your request well get back to you within one working day.
</p>
@@ -62,10 +70,6 @@
{% call form_wrapper() %}
{{ page_footer('Request to go live') }}
{% endcall %}
{% else %}
<p>
Only team members with a government email address can request to go live.
</p>
{% endif %}
</div>
</div>