From d0fa640642f044f9239b3544a9875c3997c82f06 Mon Sep 17 00:00:00 2001 From: Tom Byers Date: Mon, 11 Nov 2019 10:06:51 +0000 Subject: [PATCH] Update footer links to include new categories --- app/templates/admin_template.html | 49 ++++++++++++++++++------------- 1 file changed, 28 insertions(+), 21 deletions(-) diff --git a/app/templates/admin_template.html b/app/templates/admin_template.html index 4d705ad73..4398a1900 100644 --- a/app/templates/admin_template.html +++ b/app/templates/admin_template.html @@ -1,6 +1,5 @@ {% extends "template.njk" %} {% from "components/banner.html" import banner %} -{% from "components/notify-footer.html" import notify_footer %} {% block headIcons %} @@ -147,35 +146,29 @@ {% set meta_suffix = 'Built by the Government Digital Service' %} {% endif %} - {{ notify_footer({ + {{ govukFooter({ "classes": "js-footer", "navigation": [ { + "title": "Support", "columns": 1, "items": [ { "href": url_for('main.support'), - "text": "Support" + "text": "24-hour online support" }, { "href": "https://status.notifications.service.gov.uk", "text": "System status" }, - { - "href": "https://www.gov.uk/performance/govuk-notify", - "text": "Performance" - }, { "href": "https://ukgovernmentdigital.slack.com/messages/C0E1ADVPC", - "text": "Slack channel" - }, - { - "href": "https://gds.blog.gov.uk/category/notify/", - "text": "Blog" + "text": "Chat to us on Slack" } ] }, { + "title": "About Notify", "columns": 1, "items": [ { @@ -186,14 +179,6 @@ "href": url_for("main.roadmap"), "text": "Roadmap" }, - { - "href": url_for("main.trial_mode_new"), - "text": "Trial mode" - }, - { - "href": url_for("main.message_status"), - "text": "Message status" - }, { "href": url_for("main.security"), "text": "Security" @@ -201,10 +186,19 @@ { "href": url_for("main.terms"), "text": "Terms of use" + }, + { + "href": "https://www.gov.uk/performance/govuk-notify", + "text": "Performance" + }, + { + "href": "https://gds.blog.gov.uk/category/notify/", + "text": "Blog" } ] }, { + "title": "Pricing and payment", "columns": 1, "items": [ { @@ -218,11 +212,24 @@ ] }, { + "title": "Using Notify", "columns": 1, "items": [ + { + "href": url_for("main.get_started"), + "text": "Get started" + }, + { + "href": url_for("main.trial_mode_new"), + "text": "Trial mode" + }, + { + "href": url_for("main.message_status"), + "text": "Message status" + }, { "href": url_for("main.documentation"), - "text": "Documentation" + "text": "API documentation" } ] }