New Using Notify static page

Adds the new Using Notify view

Adds route to Using Notify page.

Add redirects for old pages

Removes the delivery and failure page as it's now in the Using Notify one

Removes the trial mode page due to Using Notify page
This commit is contained in:
Pete Herlihy
2017-08-30 15:22:26 +01:00
committed by Chris Hill-Scott
parent dbecbdfed4
commit f7ff745872
5 changed files with 188 additions and 127 deletions

View File

@@ -28,7 +28,7 @@ def cookies():
@main.route('/trial-mode')
def trial_mode():
return render_template('views/trial-mode.html')
return redirect(url_for('.using_notify') + '#trial-mode', 301)
@main.route('/pricing')
@@ -46,7 +46,7 @@ def pricing():
@main.route('/delivery-and-failure')
def delivery_and_failure():
return render_template('views/delivery-and-failure.html')
return redirect(url_for('.using_notify') + '#messagedeliveryandfailure', 301)
@main.route('/design-patterns-content-guidance')
@@ -125,3 +125,8 @@ def roadmap():
@main.route('/features')
def features():
return render_template('views/features.html')
@main.route('/using_notify')
def using_notify():
return render_template('views/using-notify.html')