Merge pull request #3452 from alphagov/update-who-its-for-content

Update and move the 'who it's for' page
This commit is contained in:
karlchillmaid
2020-05-21 12:22:07 +01:00
committed by GitHub
9 changed files with 31 additions and 19 deletions

View File

@@ -323,9 +323,14 @@ def get_started():
@main.route('/using-notify/who-its-for')
def who_its_for():
return redirect(url_for('.who_can_use_notify'), 301)
@main.route('/using-notify/who-can-use-notify')
def who_can_use_notify():
return render_template(
'views/guidance/who-its-for.html',
navigation_links=using_notify_nav(),
'views/guidance/who-can-use-notify.html',
navigation_links=features_nav(),
)

View File

@@ -22,6 +22,10 @@ def features_nav():
"name": "Roadmap",
"link": "main.roadmap",
},
{
"name": "Who can use Notify",
"link": "main.who_can_use_notify",
},
{
"name": "Security",
"link": "main.security",
@@ -52,10 +56,6 @@ def using_notify_nav():
"name": "Get started",
"link": "main.get_started",
},
{
"name": "Who its for",
"link": "main.who_its_for",
},
{
"name": "Trial mode",
"link": "main.trial_mode_new",