Browse Source

DIV-1249: Handle no court registry location when filing

pull/172/head
ariannedee 5 years ago
parent
commit
e285d84353
2 changed files with 36 additions and 8 deletions
  1. +28
    -7
      edivorce/apps/core/templates/dashboard/final_filing.html
  2. +8
    -1
      edivorce/apps/core/templates/dashboard/initial_filing.html

+ 28
- 7
edivorce/apps/core/templates/dashboard/final_filing.html View File

@ -244,9 +244,16 @@
You have indicated that you will file at the following court registry: You have indicated that you will file at the following court registry:
</p> </p>
<ul class="no-bullets"> <ul class="no-bullets">
<li>{{ court_registry_for_filing }}</li>
<li>{{ court_registry_for_filing_address }}</li>
<li>{{ court_registry_for_filing_postal_code }}</li>
{% if court_registry_for_filing %}
<li>{{ court_registry_for_filing }}</li>
<li>{{ court_registry_for_filing_address }}</li>
<li>{{ court_registry_for_filing_postal_code }}</li>
{% else %}
<p class="error-text">
Go back to the questionnaire to choose a
<a href="{% url 'question_steps' 'location' %}">filing location</a>.
</p>
{% endif %}
</ul> </ul>
<p> <p>
Once sworn/affirmed and filed, you will receive a {% include "partials/tooltips/court_file_number.html" %}. Once sworn/affirmed and filed, you will receive a {% include "partials/tooltips/court_file_number.html" %}.
@ -278,9 +285,16 @@
You have indicated that you will file at the following court registry: You have indicated that you will file at the following court registry:
</p> </p>
<ul class="no-bullets"> <ul class="no-bullets">
<li>{{ court_registry_for_filing }}</li>
<li>{{ court_registry_for_filing_address }}</li>
<li>{{ court_registry_for_filing_postal_code }}</li>
{% if court_registry_for_filing %}
<li>{{ court_registry_for_filing }}</li>
<li>{{ court_registry_for_filing_address }}</li>
<li>{{ court_registry_for_filing_postal_code }}</li>
{% else %}
<p class="error-text">
Go back to the questionnaire to choose a
<a href="{% url 'question_steps' 'location' %}">filing location</a>.
</p>
{% endif %}
</ul> </ul>
</div> </div>
{% endif %} {% endif %}
@ -296,6 +310,12 @@
In the next few steps you will be able to do a final review of your filed documentation, In the next few steps you will be able to do a final review of your filed documentation,
pay for your filing and (if completed successfully) receive a Package Number. pay for your filing and (if completed successfully) receive a Package Number.
This final step will complete your divorce filing.</p> This final step will complete your divorce filing.</p>
{% if not court_registry_for_filing %}
<div class="review-warning">
<span>In order to proceed with your application, you must select a
<a href="{% url 'question_steps' 'location' %}">filing location</a>.</span>
</div>
{% endif %}
{% endif %} {% endif %}
{% endblock %} {% endblock %}
@ -308,7 +328,8 @@
<div class="form-buttons clearfix"> <div class="form-buttons clearfix">
<a class="btn btn-primary" href="{% url 'dashboard_nav' 'swear_forms' %}"><i class="fa fa-arrow-circle-o-left"></i>&nbsp;&nbsp;&nbsp;Back</a> <a class="btn btn-primary" href="{% url 'dashboard_nav' 'swear_forms' %}"><i class="fa fa-arrow-circle-o-left"></i>&nbsp;&nbsp;&nbsp;Back</a>
{% if how_to_file == 'Online' and final_filing_submitted != 'True' %} {% if how_to_file == 'Online' and final_filing_submitted != 'True' %}
<a class="btn btn-success pull-right" href="{% url 'submit_final_files' %}" id="submitDocuments">
<a class="btn btn-success pull-right" href="{% url 'submit_final_files' %}" id="submitDocuments"
{% if not court_registry_for_filing %}disabled{% endif %}>
<i class="fa fa-paper-plane"></i>&nbsp;&nbsp;&nbsp; <i class="fa fa-paper-plane"></i>&nbsp;&nbsp;&nbsp;
Submit Documents</a> Submit Documents</a>
{% else %} {% else %}


+ 8
- 1
edivorce/apps/core/templates/dashboard/initial_filing.html View File

@ -107,6 +107,12 @@
<p> <p>
<b>You will need your Court File Number if you are filing any additional documentation.</b> <b>You will need your Court File Number if you are filing any additional documentation.</b>
</p> </p>
{% if not court_registry_for_filing %}
<div class="review-warning">
<span>In order to proceed with your application, you must select a
<a href="{% url 'question_steps' 'location' %}">filing location</a>.</span>
</div>
{% endif %}
{% elif how_to_file == 'In-person' %} {% elif how_to_file == 'In-person' %}
<p> <p>
You don't need to complete this step. Go to <a href="{% url 'dashboard_nav' 'swear_forms' %}">Swear Forms</a> for further instruction. You don't need to complete this step. Go to <a href="{% url 'dashboard_nav' 'swear_forms' %}">Swear Forms</a> for further instruction.
@ -130,7 +136,8 @@
<a class="btn btn-success pull-right" href="{% url 'dashboard_nav' 'wait_for_number' %}">Next&nbsp;&nbsp;&nbsp;<i <a class="btn btn-success pull-right" href="{% url 'dashboard_nav' 'wait_for_number' %}">Next&nbsp;&nbsp;&nbsp;<i
class="fa fa-arrow-circle-o-right"></i></a> class="fa fa-arrow-circle-o-right"></i></a>
{% elif how_to_file == 'Online' %} {% elif how_to_file == 'Online' %}
<a class="btn btn-success pull-right" href="{% url 'submit_initial_files' %}" id="submitDocuments">
<a class="btn btn-success pull-right" href="{% url 'submit_initial_files' %}" id="submitDocuments"
{% if not court_registry_for_filing %}disabled{% endif %}>
<i class="fa fa-paper-plane"></i>&nbsp;&nbsp;&nbsp; <i class="fa fa-paper-plane"></i>&nbsp;&nbsp;&nbsp;
Submit Documents</a> Submit Documents</a>
{% else %} {% else %}


Loading…
Cancel
Save