Revert "Turn off 'Get started' link when signed out"

This reverts commit 6b27a9e7a3.
This commit is contained in:
Tom Byers
2019-12-31 10:02:45 +00:00
parent f7d115d0de
commit 0375af3441
2 changed files with 22 additions and 47 deletions

View File

@@ -147,50 +147,6 @@
{% set meta_suffix = 'Built by the <a href="https://www.gov.uk/government/organisations/government-digital-service" class="govuk-footer__link">Government Digital Service</a>' %}
{% 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,