mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-08-23 15:57:23 -04:00
Remove signed_out template variable
Turns out there's no need for it: https://github.com/alphagov/notifications-admin/pull/3181#discussion_r362020673
This commit is contained in:
@@ -147,15 +147,11 @@
|
|||||||
{% 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>' %}
|
{% 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 %}
|
{% endif %}
|
||||||
|
|
||||||
{% if signed_out %}
|
{% if current_user.is_authenticated %}
|
||||||
{% set using_notify_links = {
|
{% set using_notify_links = {
|
||||||
"title": "Using Notify",
|
"title": "Using Notify",
|
||||||
"columns": 1,
|
"columns": 1,
|
||||||
"items": [
|
"items": [
|
||||||
{
|
|
||||||
"href": url_for("main.get_started"),
|
|
||||||
"text": "Get started"
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
"href": url_for("main.trial_mode_new"),
|
"href": url_for("main.trial_mode_new"),
|
||||||
"text": "Trial mode"
|
"text": "Trial mode"
|
||||||
@@ -175,6 +171,10 @@
|
|||||||
"title": "Using Notify",
|
"title": "Using Notify",
|
||||||
"columns": 1,
|
"columns": 1,
|
||||||
"items": [
|
"items": [
|
||||||
|
{
|
||||||
|
"href": url_for("main.get_started"),
|
||||||
|
"text": "Get started"
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"href": url_for("main.trial_mode_new"),
|
"href": url_for("main.trial_mode_new"),
|
||||||
"text": "Trial mode"
|
"text": "Trial mode"
|
||||||
|
|||||||
@@ -1,7 +1,5 @@
|
|||||||
{% extends "fullwidth_template.html" %}
|
{% extends "fullwidth_template.html" %}
|
||||||
|
|
||||||
{% set signed_out = True %}
|
|
||||||
|
|
||||||
{% block meta %}
|
{% block meta %}
|
||||||
<meta name="description" content="GOV.UK Notify lets you send emails, text messages and letters to your users. Try it now if you work in central government, a local authority, or the NHS.">
|
<meta name="description" content="GOV.UK Notify lets you send emails, text messages and letters to your users. Try it now if you work in central government, a local authority, or the NHS.">
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
|
|||||||
Reference in New Issue
Block a user