From 0375af3441d2150f35b9674f7d66ce99bad06a1c Mon Sep 17 00:00:00 2001 From: Tom Byers Date: Tue, 31 Dec 2019 10:02:45 +0000 Subject: [PATCH] Revert "Turn off 'Get started' link when signed out" This reverts commit 6b27a9e7a38534d46dc68b55b80842f6906b1e7b. --- app/templates/admin_template.html | 67 ++++++++++-------------------- app/templates/views/signedout.html | 2 - 2 files changed, 22 insertions(+), 47 deletions(-) diff --git a/app/templates/admin_template.html b/app/templates/admin_template.html index e79f170ea..feefab8da 100644 --- a/app/templates/admin_template.html +++ b/app/templates/admin_template.html @@ -147,50 +147,6 @@ {% set meta_suffix = 'Built by the Government Digital Service' %} {% endif %} - {% if signed_out %} - {% set using_notify_links = { - "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": "API documentation" - } - ] - } %} - {% else %} - {% set using_notify_links = { - "title": "Using Notify", - "columns": 1, - "items": [ - { - "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": "API documentation" - } - ] - } %} - {% endif %} - {{ govukFooter({ "classes": "js-footer", "navigation": [ @@ -256,7 +212,28 @@ } ] }, - using_notify_links + { + "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": "API documentation" + } + ] + } ], "meta": { "items": meta_items, diff --git a/app/templates/views/signedout.html b/app/templates/views/signedout.html index 6b3a4a44a..ea9e7db75 100644 --- a/app/templates/views/signedout.html +++ b/app/templates/views/signedout.html @@ -1,7 +1,5 @@ {% extends "fullwidth_template.html" %} -{% set signed_out = True %} - {% block meta %} {% endblock %}