Browse Source

Minor changes to pre-qualification flow

pull/160/head
Mike Olund 8 years ago
parent
commit
4498830d20
10 changed files with 43 additions and 3 deletions
  1. +6
    -0
      edivorce/apps/core/templates/prequalification/step_01.html
  2. +6
    -0
      edivorce/apps/core/templates/prequalification/step_02.html
  3. +6
    -0
      edivorce/apps/core/templates/prequalification/step_03.html
  4. +5
    -0
      edivorce/apps/core/templates/prequalification/step_04.html
  5. +6
    -0
      edivorce/apps/core/templates/prequalification/step_05.html
  6. +5
    -0
      edivorce/apps/core/templates/prequalification/step_06.html
  7. +1
    -1
      edivorce/apps/core/templates/success.html
  8. +4
    -1
      edivorce/apps/core/views/main.py
  9. +3
    -1
      edivorce/settings/local.py
  10. +1
    -0
      edivorce/settings/openshift.py

+ 6
- 0
edivorce/apps/core/templates/prequalification/step_01.html View File

@ -3,6 +3,12 @@
{% block title %}{{ block.super }}: Prequalification{% endblock %}
{% block progress %}
{% if request.bceid_user.is_authenticated %}
{% include "progress.html" with step=active_page %}
{% endif %}
{% endblock %}
{% block content %}
<h1>Do you qualify for a divorce in B.C.?</h1>


+ 6
- 0
edivorce/apps/core/templates/prequalification/step_02.html View File

@ -3,6 +3,12 @@
{% block title %}{{ block.super }}: Prequalification{% endblock %}
{% block progress %}
{% if request.bceid_user.is_authenticated %}
{% include "progress.html" with step=active_page %}
{% endif %}
{% endblock %}
{% block content %}
<h1>Do you qualify for a divorce in B.C.?</h1>


+ 6
- 0
edivorce/apps/core/templates/prequalification/step_03.html View File

@ -3,6 +3,12 @@
{% block title %}{{ block.super }}: Prequalification{% endblock %}
{% block progress %}
{% if request.bceid_user.is_authenticated %}
{% include "progress.html" with step=active_page %}
{% endif %}
{% endblock %}
{% block content %}
<h1>Do you qualify for a divorce in B.C.?</h1>


+ 5
- 0
edivorce/apps/core/templates/prequalification/step_04.html View File

@ -3,6 +3,11 @@
{% block title %}{{ block.super }}: Prequalification{% endblock %}
{% block progress %}
{% if request.bceid_user.is_authenticated %}
{% include "progress.html" with step=active_page %}
{% endif %}
{% endblock %}
{% block content %}
<h1>Do you qualify for a divorce in B.C.?</h1>


+ 6
- 0
edivorce/apps/core/templates/prequalification/step_05.html View File

@ -3,6 +3,12 @@
{% block title %}{{ block.super }}: Prequalification{% endblock %}
{% block progress %}
{% if request.bceid_user.is_authenticated %}
{% include "progress.html" with step=active_page %}
{% endif %}
{% endblock %}
{% block content %}
<h1>Do you qualify for a divorce in B.C.?</h1>


+ 5
- 0
edivorce/apps/core/templates/prequalification/step_06.html View File

@ -3,6 +3,11 @@
{% block title %}{{ block.super }}: Prequalification{% endblock %}
{% block progress %}
{% if request.bceid_user.is_authenticated %}
{% include "progress.html" with step=active_page %}
{% endif %}
{% endblock %}
{% block content %}
<h1>Do you qualify for a divorce in B.C.?</h1>


+ 1
- 1
edivorce/apps/core/templates/success.html View File

@ -19,7 +19,7 @@
<a class="btn btn-success" href="{% url 'login' %}">
I Already Have a BCeID.<br>Login Now
</a>
<a class="btn btn-success" href="https://www.bceid.ca/register/basic/account_details.aspx?type=regular&eServiceType=basic">
<a class="btn btn-success" href="{{ register_url }}">
Register<br>for a Basic BCeID
</a>
</div>


+ 4
- 1
edivorce/apps/core/views/main.py View File

@ -23,7 +23,10 @@ def intro(request):
def success(request):
return render(request, 'success.html')
if request.bceid_user.is_authenticated:
return redirect(settings.FORCE_SCRIPT_NAME[:-1] + '/overview')
else:
return render(request, 'success.html', context={'register_url': settings.REGISTER_URL})
def savepdf(request):


+ 3
- 1
edivorce/settings/local.py View File

@ -17,4 +17,6 @@ TEMPLATES[0]["OPTIONS"]["debug"] = True
WEASYPRINT_URL = 'http://localhost:5005'
WEASYPRINT_CSS_LOOPBACK = 'http://10.200.10.1:8000'
DEPLOYMENT_TYPE = 'localdev'
DEPLOYMENT_TYPE = 'localdev'
REGISTER_URL = '#'

+ 1
- 0
edivorce/settings/openshift.py View File

@ -71,5 +71,6 @@ WEASYPRINT_CSS_LOOPBACK += PROXY_URL_PREFIX
# Integration URLs
PROXY_BASE_URL = 'https://justice.gov.bc.ca'
LOGOUT_URL = 'https://logon.gov.bc.ca/clp-cgi/logoff.cgi?returl=%s%s&retnow=1' % (PROXY_BASE_URL, PROXY_URL_PREFIX)
REGISTER_URL = ''

Loading…
Cancel
Save