From 7e25e1c3ded60a1101233e9161281847361838c3 Mon Sep 17 00:00:00 2001
From: Wade Barnes
Date: Mon, 11 Jun 2018 09:14:14 -0700
Subject: [PATCH 2/4] Contact updates.
---
edivorce/apps/core/templates/legal.html | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/edivorce/apps/core/templates/legal.html b/edivorce/apps/core/templates/legal.html
index 5fdcf5a8..80a74e10 100644
--- a/edivorce/apps/core/templates/legal.html
+++ b/edivorce/apps/core/templates/legal.html
@@ -80,7 +80,7 @@
Who do I contact for technical assistance?
CSO Support -
- Courts.CSO@gov.bc.ca
+ Courts.CSO@gov.bc.ca
Hours of Operation: 8:00 am to 4:30 pm - Monday to Friday except Statutory Holidays
From 8a841fefc13a015a6225877112d45b70c987c35d Mon Sep 17 00:00:00 2001
From: Wade Barnes
Date: Mon, 25 Jun 2018 11:55:35 -0700
Subject: [PATCH 3/4] EDIVORCE-30 - Update project
- Configure Visual Studio project
- Update gitignore
---
.gitignore | 333 ++++++++++++++++++++++++++++++++++++++++++++++++
eDivorce.pyproj | 275 +++++++++++++++++++++++++++++++++++++++
eDivorce.sln | 25 ++++
3 files changed, 633 insertions(+)
create mode 100644 eDivorce.pyproj
create mode 100644 eDivorce.sln
diff --git a/.gitignore b/.gitignore
index 44870f48..f1a96cf4 100644
--- a/.gitignore
+++ b/.gitignore
@@ -78,3 +78,336 @@ target/
venv/
.vs/
+
+# Visual Studio Code files
+.vsCode
+
+## Ignore Visual Studio temporary files, build results, and
+## files generated by popular Visual Studio add-ons.
+##
+## Get latest from https://github.com/github/gitignore/blob/master/VisualStudio.gitignore
+
+# User-specific files
+*.suo
+*.user
+*.userosscache
+*.sln.docstates
+
+# User-specific files (MonoDevelop/Xamarin Studio)
+*.userprefs
+
+# Build results
+[Dd]ebug/
+[Dd]ebugPublic/
+[Rr]elease/
+[Rr]eleases/
+x64/
+x86/
+bld/
+[Bb]in/
+[Oo]bj/
+[Ll]og/
+
+# Visual Studio 2015/2017 cache/options directory
+.vs/
+# Uncomment if you have tasks that create the project's static files in wwwroot
+#wwwroot/
+
+# Visual Studio 2017 auto generated files
+Generated\ Files/
+
+# MSTest test Results
+[Tt]est[Rr]esult*/
+[Bb]uild[Ll]og.*
+
+# NUNIT
+*.VisualState.xml
+TestResult.xml
+
+# Build Results of an ATL Project
+[Dd]ebugPS/
+[Rr]eleasePS/
+dlldata.c
+
+# Benchmark Results
+BenchmarkDotNet.Artifacts/
+
+# .NET Core
+project.lock.json
+project.fragment.lock.json
+artifacts/
+
+# StyleCop
+StyleCopReport.xml
+
+# Files built by Visual Studio
+*_i.c
+*_p.c
+*_i.h
+*.ilk
+*.meta
+*.obj
+*.iobj
+*.pch
+*.pdb
+*.ipdb
+*.pgc
+*.pgd
+*.rsp
+*.sbr
+*.tlb
+*.tli
+*.tlh
+*.tmp
+*.tmp_proj
+*.log
+*.vspscc
+*.vssscc
+.builds
+*.pidb
+*.svclog
+*.scc
+
+# Chutzpah Test files
+_Chutzpah*
+
+# Visual C++ cache files
+ipch/
+*.aps
+*.ncb
+*.opendb
+*.opensdf
+*.sdf
+*.cachefile
+*.VC.db
+*.VC.VC.opendb
+
+# Visual Studio profiler
+*.psess
+*.vsp
+*.vspx
+*.sap
+
+# Visual Studio Trace Files
+*.e2e
+
+# TFS 2012 Local Workspace
+$tf/
+
+# Guidance Automation Toolkit
+*.gpState
+
+# ReSharper is a .NET coding add-in
+_ReSharper*/
+*.[Rr]e[Ss]harper
+*.DotSettings.user
+
+# JustCode is a .NET coding add-in
+.JustCode
+
+# TeamCity is a build add-in
+_TeamCity*
+
+# DotCover is a Code Coverage Tool
+*.dotCover
+
+# AxoCover is a Code Coverage Tool
+.axoCover/*
+!.axoCover/settings.json
+
+# Visual Studio code coverage results
+*.coverage
+*.coveragexml
+
+# NCrunch
+_NCrunch_*
+.*crunch*.local.xml
+nCrunchTemp_*
+
+# MightyMoose
+*.mm.*
+AutoTest.Net/
+
+# Web workbench (sass)
+.sass-cache/
+
+# Installshield output folder
+[Ee]xpress/
+
+# DocProject is a documentation generator add-in
+DocProject/buildhelp/
+DocProject/Help/*.HxT
+DocProject/Help/*.HxC
+DocProject/Help/*.hhc
+DocProject/Help/*.hhk
+DocProject/Help/*.hhp
+DocProject/Help/Html2
+DocProject/Help/html
+
+# Click-Once directory
+publish/
+
+# Publish Web Output
+*.[Pp]ublish.xml
+*.azurePubxml
+# Note: Comment the next line if you want to checkin your web deploy settings,
+# but database connection strings (with potential passwords) will be unencrypted
+*.pubxml
+*.publishproj
+
+# Microsoft Azure Web App publish settings. Comment the next line if you want to
+# checkin your Azure Web App publish settings, but sensitive information contained
+# in these scripts will be unencrypted
+PublishScripts/
+
+# NuGet Packages
+*.nupkg
+# The packages folder can be ignored because of Package Restore
+**/[Pp]ackages/*
+# except build/, which is used as an MSBuild target.
+!**/[Pp]ackages/build/
+# Uncomment if necessary however generally it will be regenerated when needed
+#!**/[Pp]ackages/repositories.config
+# NuGet v3's project.json files produces more ignorable files
+*.nuget.props
+*.nuget.targets
+
+# Microsoft Azure Build Output
+csx/
+*.build.csdef
+
+# Microsoft Azure Emulator
+ecf/
+rcf/
+
+# Windows Store app package directories and files
+AppPackages/
+BundleArtifacts/
+Package.StoreAssociation.xml
+_pkginfo.txt
+*.appx
+
+# Visual Studio cache files
+# files ending in .cache can be ignored
+*.[Cc]ache
+# but keep track of directories ending in .cache
+!*.[Cc]ache/
+
+# Others
+ClientBin/
+~$*
+*~
+*.dbmdl
+*.dbproj.schemaview
+*.jfm
+*.pfx
+*.publishsettings
+orleans.codegen.cs
+
+# Including strong name files can present a security risk
+# (https://github.com/github/gitignore/pull/2483#issue-259490424)
+#*.snk
+
+# Since there are multiple workflows, uncomment next line to ignore bower_components
+# (https://github.com/github/gitignore/pull/1529#issuecomment-104372622)
+#bower_components/
+
+# RIA/Silverlight projects
+Generated_Code/
+
+# Backup & report files from converting an old project file
+# to a newer Visual Studio version. Backup files are not needed,
+# because we have git ;-)
+_UpgradeReport_Files/
+Backup*/
+UpgradeLog*.XML
+UpgradeLog*.htm
+ServiceFabricBackup/
+*.rptproj.bak
+
+# SQL Server files
+*.mdf
+*.ldf
+*.ndf
+
+# Business Intelligence projects
+*.rdl.data
+*.bim.layout
+*.bim_*.settings
+*.rptproj.rsuser
+
+# Microsoft Fakes
+FakesAssemblies/
+
+# GhostDoc plugin setting file
+*.GhostDoc.xml
+
+# Node.js Tools for Visual Studio
+.ntvs_analysis.dat
+node_modules/
+
+# Visual Studio 6 build log
+*.plg
+
+# Visual Studio 6 workspace options file
+*.opt
+
+# Visual Studio 6 auto-generated workspace file (contains which files were open etc.)
+*.vbw
+
+# Visual Studio LightSwitch build output
+**/*.HTMLClient/GeneratedArtifacts
+**/*.DesktopClient/GeneratedArtifacts
+**/*.DesktopClient/ModelManifest.xml
+**/*.Server/GeneratedArtifacts
+**/*.Server/ModelManifest.xml
+_Pvt_Extensions
+
+# Paket dependency manager
+.paket/paket.exe
+paket-files/
+
+# FAKE - F# Make
+.fake/
+
+# JetBrains Rider
+.idea/
+*.sln.iml
+
+# CodeRush
+.cr/
+
+# Python Tools for Visual Studio (PTVS)
+__pycache__/
+*.pyc
+
+# Cake - Uncomment if you are using it
+# tools/**
+# !tools/packages.config
+
+# Tabs Studio
+*.tss
+
+# Telerik's JustMock configuration file
+*.jmconfig
+
+# BizTalk build output
+*.btp.cs
+*.btm.cs
+*.odx.cs
+*.xsd.cs
+
+# OpenCover UI analysis results
+OpenCover/
+
+# Azure Stream Analytics local run output
+ASALocalRun/
+
+# MSBuild Binary and Structured Log
+*.binlog
+
+# NVidia Nsight GPU debugger configuration file
+*.nvuser
+
+# MFractors (Xamarin productivity tool) working folder
+.mfractor/
diff --git a/eDivorce.pyproj b/eDivorce.pyproj
new file mode 100644
index 00000000..291ba371
--- /dev/null
+++ b/eDivorce.pyproj
@@ -0,0 +1,275 @@
+
+
+
+ Debug
+ 2.0
+ {49af6729-7075-48ab-903a-dd921e4282b5}
+
+ manage.py
+
+ .
+ .
+ {5F0BE9CA-D677-4A4D-8806-6076C0FAAD37};{349c5851-65df-11da-9384-00065b846f21};{888888a0-9f3d-457c-b088-3a5042f75d52}
+ Django launcher
+ MSBuild|env|$(MSBuildProjectFullPath)
+ http://localhost
+ edivorce.settings.local
+
+
+
+
+ 10.0
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ env
+ 3.6
+ env (Python 3.6 (64-bit))
+ Scripts\python.exe
+ Scripts\pythonw.exe
+ PYTHONPATH
+ X64
+
+
+
+
+
+
+
+ True
+ True
+ http://localhost
+ False
+
+
+
+
+
+
+ CurrentPage
+ True
+ False
+ False
+ False
+
+
+
+
+
+
+
+
+ False
+ False
+
+
+
+
+
\ No newline at end of file
diff --git a/eDivorce.sln b/eDivorce.sln
new file mode 100644
index 00000000..8d418f8e
--- /dev/null
+++ b/eDivorce.sln
@@ -0,0 +1,25 @@
+
+Microsoft Visual Studio Solution File, Format Version 12.00
+# Visual Studio 15
+VisualStudioVersion = 15.0.27703.2018
+MinimumVisualStudioVersion = 10.0.40219.1
+Project("{888888A0-9F3D-457C-B088-3A5042F75D52}") = "eDivorce", "eDivorce.pyproj", "{49AF6729-7075-48AB-903A-DD921E4282B5}"
+EndProject
+Global
+ GlobalSection(SolutionConfigurationPlatforms) = preSolution
+ Debug|Any CPU = Debug|Any CPU
+ Release|Any CPU = Release|Any CPU
+ EndGlobalSection
+ GlobalSection(ProjectConfigurationPlatforms) = postSolution
+ {49AF6729-7075-48AB-903A-DD921E4282B5}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {49AF6729-7075-48AB-903A-DD921E4282B5}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {49AF6729-7075-48AB-903A-DD921E4282B5}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {49AF6729-7075-48AB-903A-DD921E4282B5}.Release|Any CPU.Build.0 = Release|Any CPU
+ EndGlobalSection
+ GlobalSection(SolutionProperties) = preSolution
+ HideSolutionNode = FALSE
+ EndGlobalSection
+ GlobalSection(ExtensibilityGlobals) = postSolution
+ SolutionGuid = {9E16EECB-E9F8-4631-BA0D-4BC734F9D5FA}
+ EndGlobalSection
+EndGlobal
From 2fae7fd9547f3388ffb5b4d7c84058f7189129f6 Mon Sep 17 00:00:00 2001
From: Wade Barnes
Date: Mon, 25 Jun 2018 11:58:23 -0700
Subject: [PATCH 4/4] EDIVORCE-30 - Update contact information
- Create application specific contact page.
- Override default gov.bc.ca contact page.
- Align contact information on contact and legal pages.
---
edivorce/apps/core/templates/base.html | 4 +--
edivorce/apps/core/templates/contact-us.html | 36 ++++++++++++++++++++
edivorce/apps/core/templates/legal.html | 2 +-
edivorce/apps/core/urls.py | 1 +
edivorce/apps/core/views/main.py | 6 ++++
5 files changed, 46 insertions(+), 3 deletions(-)
create mode 100644 edivorce/apps/core/templates/contact-us.html
diff --git a/edivorce/apps/core/templates/base.html b/edivorce/apps/core/templates/base.html
index ef16925a..96f609df 100644
--- a/edivorce/apps/core/templates/base.html
+++ b/edivorce/apps/core/templates/base.html
@@ -1,4 +1,4 @@
-{% load static %}
+{% load static %}
{% load sass_tags %}
{% load compress %}
@@ -149,7 +149,7 @@
Copyright
- Contact Us
+ Contact Us
{% if show_debug %}
diff --git a/edivorce/apps/core/templates/contact-us.html b/edivorce/apps/core/templates/contact-us.html
new file mode 100644
index 00000000..84216dee
--- /dev/null
+++ b/edivorce/apps/core/templates/contact-us.html
@@ -0,0 +1,36 @@
+{% extends 'base.html' %}
+
+{% block title %}{{ block.super }}: Contact Us{% endblock %}
+
+{% block content %}
+General and Technical Enquiries
+
+
+ Can’t find what you are looking for? Have a technical issue?
+
+
+
+ Contact us 8:00 am to 4:30 pm Pacific Time - Monday to Friday except Statutory Holidays
+
+
+
+ CSO Support -
+ Courts.CSO@gov.bc.ca
+
+
+
+
+{% endblock %}
+
+{% block formbuttons %}
+
+{% endblock %}
+
+{% block sidebarNav %}
+
+{% endblock %}
+{% block sidebar %}
+
+{% endblock %}
diff --git a/edivorce/apps/core/templates/legal.html b/edivorce/apps/core/templates/legal.html
index 80a74e10..234cd9a5 100644
--- a/edivorce/apps/core/templates/legal.html
+++ b/edivorce/apps/core/templates/legal.html
@@ -83,7 +83,7 @@
Courts.CSO@gov.bc.ca
- Hours of Operation: 8:00 am to 4:30 pm - Monday to Friday except Statutory Holidays
+ Hours of Operation: 8:00 am to 4:30 pm Pacific Time - Monday to Friday except Statutory Holidays
diff --git a/edivorce/apps/core/urls.py b/edivorce/apps/core/urls.py
index 2e64d473..bea9fce6 100644
--- a/edivorce/apps/core/urls.py
+++ b/edivorce/apps/core/urls.py
@@ -23,6 +23,7 @@ urlpatterns = [
url(r'^health$', system.health),
url(r'^legal', main.legal, name="legal"),
url(r'^acknowledgements', main.acknowledgements, name="acknowledgements"),
+ url(r'^contact', main.contact, name="contact"),
# url(r'^headers$', system.headers),
diff --git a/edivorce/apps/core/views/main.py b/edivorce/apps/core/views/main.py
index 2972321a..a739fffe 100644
--- a/edivorce/apps/core/views/main.py
+++ b/edivorce/apps/core/views/main.py
@@ -233,6 +233,12 @@ def acknowledgements(request):
"""
return render(request, 'acknowledgements.html', context={'active_page': 'acknowledgements'})
+def contact(request):
+ """
+ Contact Us page
+ """
+ return render(request, 'contact-us.html', context={'active_page': 'contact'})
+
@bceid_required
def intercept_page(request):
"""