diff --git a/edivorce/apps/core/templates/partials/incomplete.html b/edivorce/apps/core/templates/partials/incomplete.html new file mode 100644 index 00000000..41eca2c8 --- /dev/null +++ b/edivorce/apps/core/templates/partials/incomplete.html @@ -0,0 +1 @@ +Incomplete \ No newline at end of file diff --git a/edivorce/apps/core/templates/question/12_review.html b/edivorce/apps/core/templates/question/12_review.html index 45b92210..a067295d 100644 --- a/edivorce/apps/core/templates/question/12_review.html +++ b/edivorce/apps/core/templates/question/12_review.html @@ -31,14 +31,14 @@ - -
+
Step 1: What are you asking for -
-
-

Edit

+
+
+ {% if step_status.which_orders != 'Complete' %}{% include 'partials/incomplete.html' %}{% endif %} +

Edit

@@ -47,12 +47,13 @@
-
+
Step 2: Your information -
+
+ {% if step_status.your_information != 'Complete' %}{% include 'partials/incomplete.html' %}{% endif %}

Edit

@@ -62,13 +63,14 @@
-
+
Step 3: Your spouse
-

Edit

+ {% if step_status.your_spouse != 'Complete' %}{% include 'partials/incomplete.html' %}{% endif %} +

Edit

@@ -77,13 +79,14 @@
-
+
Step 4: Your marriage
-

Edit

+ {% if step_status.your_marriage != 'Complete' %}{% include 'partials/incomplete.html' %}{% endif %} +

Edit

@@ -92,13 +95,14 @@
-
+
Step 5: Your separation
-

Edit

+ {% if step_status.your_separation != 'Complete' %}{% include 'partials/incomplete.html' %}{% endif %} +

Edit

@@ -108,13 +112,14 @@
{% if derived.has_children_of_marriage %} -
+
Step {% step_order step="children" %}: Your children
-

Edit

+ {% if step_status.your_children != 'Complete' %}{% include 'partials/incomplete.html' %}{% endif %} +

Edit

@@ -125,13 +130,14 @@ {% endif %} {% if 'Spousal support' in which_orders.0.value|load_json %} -
+
Step {% step_order step="support" %}: Spousal support
-

Edit

+ {% if step_status.spousal_support != 'Complete' %}{% include 'partials/incomplete.html' %}{% endif %} +

Edit

@@ -142,13 +148,14 @@ {% endif %} {% if 'Division of property and debts' in which_orders.0.value|load_json %} -
+
Step {% step_order step="property" %}: Property and debt
-

Edit

+ {% if step_status.property_and_debt != 'Complete' %}{% include 'partials/incomplete.html' %}{% endif %} +

Edit

@@ -159,13 +166,14 @@ {% endif %} {% if 'Other orders' in which_orders.0.value|load_json %} -
+
Step {% step_order step="other_orders" %}: Other orders
-

Edit

+ {% if step_status.other_orders != 'Complete' %}{% include 'partials/incomplete.html' %}{% endif %} +

Edit

@@ -175,13 +183,14 @@
{% endif %} -
+
Step {% step_order step="other_questions" %}: Other questions
-

Edit

+ {% if step_status.other_questions != 'Complete' %}{% include 'partials/incomplete.html' %}{% endif %} +

Edit

@@ -190,13 +199,14 @@
-
+
Step {% step_order step="location" %}: Filing location
-

Edit

+ {% if step_status.filing_locations != 'Complete' %}{% include 'partials/incomplete.html' %}{% endif %} +

Edit

diff --git a/edivorce/apps/core/utils/question_step_mapping.py b/edivorce/apps/core/utils/question_step_mapping.py index ffa589ff..3cac5e36 100644 --- a/edivorce/apps/core/utils/question_step_mapping.py +++ b/edivorce/apps/core/utils/question_step_mapping.py @@ -295,7 +295,7 @@ page_step_mapping = { 'property': 'property_and_debt', 'other_orders': 'other_orders', 'other_questions': 'other_questions', - 'filing_locations': 'filing_locations', + 'location': 'filing_locations', } """ List of court registries """