diff --git a/edivorce/apps/core/templates/question/02_claimant.html b/edivorce/apps/core/templates/question/02_claimant.html
index a72204ad..9f530486 100644
--- a/edivorce/apps/core/templates/question/02_claimant.html
+++ b/edivorce/apps/core/templates/question/02_claimant.html
@@ -3,7 +3,7 @@
{% block title %}{{ block.super }}: Your Information{% endblock %}
-{% block progress %}{% include "progress.html" with step=question_step %}{% endblock %}
+{% block progress %}{% include "progress.html" with step=active_page %}{% endblock %}
{% block content %}
diff --git a/edivorce/apps/core/templates/question/03_respondent.html b/edivorce/apps/core/templates/question/03_respondent.html
index c018a792..df1790b9 100644
--- a/edivorce/apps/core/templates/question/03_respondent.html
+++ b/edivorce/apps/core/templates/question/03_respondent.html
@@ -2,7 +2,7 @@
{% block title %}{{ block.super }}: Your Spouse{% endblock %}
-{% block progress %}{% include "progress.html" with step=question_step %}{% endblock %}
+{% block progress %}{% include "progress.html" with step=active_page %}{% endblock %}
{% block content %}
diff --git a/edivorce/apps/core/templates/question/04_marriage.html b/edivorce/apps/core/templates/question/04_marriage.html
index b748a261..f4531432 100644
--- a/edivorce/apps/core/templates/question/04_marriage.html
+++ b/edivorce/apps/core/templates/question/04_marriage.html
@@ -3,7 +3,7 @@
{% block title %}{{ block.super }}: Your Marriage{% endblock %}
-{% block progress %}{% include "progress.html" with step=question_step %}{% endblock %}
+{% block progress %}{% include "progress.html" with step=active_page %}{% endblock %}
{% block content %}
diff --git a/edivorce/apps/core/templates/question/05_separation.html b/edivorce/apps/core/templates/question/05_separation.html
index 0679d603..071e841b 100644
--- a/edivorce/apps/core/templates/question/05_separation.html
+++ b/edivorce/apps/core/templates/question/05_separation.html
@@ -3,7 +3,7 @@
{% block title %}{{ block.super }}: Reason For Divorce{% endblock %}
-{% block progress %}{% include "progress.html" with step=question_step %}{% endblock %}
+{% block progress %}{% include "progress.html" with step=active_page %}{% endblock %}
{% block content %}
diff --git a/edivorce/apps/core/templates/question/06_support.html b/edivorce/apps/core/templates/question/06_support.html
index 4a62a3dd..1aeeb1e7 100644
--- a/edivorce/apps/core/templates/question/06_support.html
+++ b/edivorce/apps/core/templates/question/06_support.html
@@ -3,7 +3,7 @@
{% block title %}{{ block.super }}: Declarations{% endblock %}
-{% block progress %}{% include "progress.html" with step=question_step %}{% endblock %}
+{% block progress %}{% include "progress.html" with step=active_page %}{% endblock %}
{% block content %}
diff --git a/edivorce/apps/core/templates/question/07_property.html b/edivorce/apps/core/templates/question/07_property.html
index 4da3adfb..a2d3a303 100644
--- a/edivorce/apps/core/templates/question/07_property.html
+++ b/edivorce/apps/core/templates/question/07_property.html
@@ -2,7 +2,7 @@
{% load input_field %}
{% block title %}{{ block.super }}: Application Location{% endblock %}
-{% block progress %}{% include "progress.html" with step=question_step %}{% endblock %}
+{% block progress %}{% include "progress.html" with step=active_page %}{% endblock %}
{% block content %}
diff --git a/edivorce/apps/core/templates/question/08_other_orders.html b/edivorce/apps/core/templates/question/08_other_orders.html
index f71e42d4..2569ca28 100644
--- a/edivorce/apps/core/templates/question/08_other_orders.html
+++ b/edivorce/apps/core/templates/question/08_other_orders.html
@@ -2,7 +2,7 @@
{% block title %}{{ block.super }}: Other Orders{% endblock %}
-{% block progress %}{% include "progress.html" with step=question_step %}{% endblock %}
+{% block progress %}{% include "progress.html" with step=active_page %}{% endblock %}
{% block content %}
diff --git a/edivorce/apps/core/templates/question/09_other_questions.html b/edivorce/apps/core/templates/question/09_other_questions.html
index e6823be6..62c8b60d 100644
--- a/edivorce/apps/core/templates/question/09_other_questions.html
+++ b/edivorce/apps/core/templates/question/09_other_questions.html
@@ -3,7 +3,7 @@
{% block title %}{{ block.super }}: Spousal Support{% endblock %}
-{% block progress %}{% include "progress.html" with step=question_step %}{% endblock %}
+{% block progress %}{% include "progress.html" with step=active_page %}{% endblock %}
{% block content %}
diff --git a/edivorce/apps/core/templates/question/10_location.html b/edivorce/apps/core/templates/question/10_location.html
index 66e2ab11..aaf0086c 100644
--- a/edivorce/apps/core/templates/question/10_location.html
+++ b/edivorce/apps/core/templates/question/10_location.html
@@ -3,7 +3,7 @@
{% block title %}{{ block.super }}: Property And Debts{% endblock %}
-{% block progress %}{% include "progress.html" with step=question_step %}{% endblock %}
+{% block progress %}{% include "progress.html" with step=active_page %}{% endblock %}
{% block content %}
diff --git a/edivorce/apps/core/templates/question/11_review.html b/edivorce/apps/core/templates/question/11_review.html
index 32a6c146..303a83af 100644
--- a/edivorce/apps/core/templates/question/11_review.html
+++ b/edivorce/apps/core/templates/question/11_review.html
@@ -2,7 +2,7 @@
{% block title %}{{ block.super }}: Review{% endblock %}
-{% block progress %}{% include "progress.html" with step=question_step %}{% endblock %}
+{% block progress %}{% include "progress.html" with step=active_page %}{% endblock %}
{% block content %}
@@ -53,14 +53,12 @@
{% include "partials/review_user_responses.html" with questions=filing_locations %}
-
-
{% endblock %}
{% block formbuttons %}
-
+
{% endblock %}
{% block sidebar %}
diff --git a/edivorce/apps/core/templates/savepdf.html b/edivorce/apps/core/templates/savepdf.html
new file mode 100644
index 00000000..4a418801
--- /dev/null
+++ b/edivorce/apps/core/templates/savepdf.html
@@ -0,0 +1,70 @@
+{% extends 'base.html' %}
+
+{% block title %}{{ block.super }}: Overview{% endblock %}
+
+{% block progress %}{% include "dashnav.html" with active_page=active_page %}{% endblock %}
+
+{% block content %}
+
Save PDF
+
Click 'Preview' for preview of the form
+
Click 'Print' to view PDF version of the form
+
+
Prepare your forms
+
+ -
+
+ Notice of Joint Family Claim(F1)
+ Preview |
+ Print
+
+
+ -
+
+ Requisition (Form F35)
+ Preview |
+ Print
+
+
+ -
+
+ Draft Final Order (Form F52)
+ Preview |
+ Print
+
+
+ -
+
+ Certificate of Pleadings (F36)
+ Preview |
+ Print
+
+
+ -
+
+ Affidavit Desk Order Divorce (F38)
+ Preview |
+ Print
+
+
+ -
+
+ Original Marriage Certificate or Registration of Marriage
+ Preview |
+ Print
+
+
+
+
+
+
+{% endblock %}
+
+{% block formbuttons %}
+
+{% endblock %}
+
+{% block sidebar %}
+
+{% endblock %}
diff --git a/edivorce/apps/core/templates/success.html b/edivorce/apps/core/templates/success.html
new file mode 100644
index 00000000..03587c13
--- /dev/null
+++ b/edivorce/apps/core/templates/success.html
@@ -0,0 +1,30 @@
+{% extends 'base.html' %}
+
+{% block title %}{{ block.super }}: Overview{% endblock %}
+
+{% block progress %}{% include "dashnav.html" %}{% endblock %}
+
+{% block content %}
+
+
You have met the conditions for requesting a divorce in B.C.
+
+
Documents you will need to move forward with the divorce request.
+
+ - Marriag certificate
+ - Separation agreement or court order
+
+
+
+
+{% endblock %}
+
+{% block formbuttons %}
+
+{% endblock %}
+
+{% block sidebar %}
+
+{% endblock %}
diff --git a/edivorce/apps/core/urls.py b/edivorce/apps/core/urls.py
index aff64f0c..49268973 100644
--- a/edivorce/apps/core/urls.py
+++ b/edivorce/apps/core/urls.py
@@ -10,6 +10,8 @@ urlpatterns = [
url(r'^bceid', localdev.bceid, name="bceid"),
url(r'^logout', main.logout, name="logout"),
url(r'^overview', main.overview, name="overview"),
+ url(r'^success', main.success, name="success"),
+ url(r'^savepdf', main.savepdf, name="savepdf"),
url(r'^health$', system.health),
# todo: remove this line once BCeID is working
diff --git a/edivorce/apps/core/views/main.py b/edivorce/apps/core/views/main.py
index b92075a7..f8aac1fb 100644
--- a/edivorce/apps/core/views/main.py
+++ b/edivorce/apps/core/views/main.py
@@ -22,6 +22,14 @@ def intro(request):
return render(request, 'intro.html', context={'hide_nav': True})
+def success(request):
+ return render(request, 'success.html')
+
+
+def savepdf(request):
+ return render(request, 'savepdf.html', context={'active_page': 'savepdf'})
+
+
def login(request):
if settings.DEPLOYMENT_TYPE == 'localdev' and not request.session.get('fake-bceid-guid'):
@@ -79,7 +87,7 @@ def question(request, step):
responses_dict = get_responses_from_db_grouped_by_steps(user)
else:
responses_dict = get_responses_from_db(user)
- responses_dict['question_step'] = step
+ responses_dict['active_page'] = step
# If page is filing location page, add registries dictionary for list of court registries
if step == "10_location":
responses_dict['registries'] = sorted(list_of_registries)
@@ -102,6 +110,7 @@ def overview(request):
started_dict[step] = "Not started"
else:
started_dict[step] = "Started"
+ started_dict['active_page'] = 'overview'
return render(request, 'overview.html', context=started_dict)