{% extends "template.njk" %} {% from "components/banner.html" import banner %} {% from "components/notify-footer.html" import notify_footer %} {% block headIcons %} {# Hardcoded value of $govuk-black #} {% endblock %} {% block head %} {% block meta %} {% endblock %} {% endblock %} {% block pageTitle %} {% block per_page_title %}{% endblock %} – GOV.UK Notify {% endblock %} {% block bodyStart %} {% block cookie_message %}
{% endblock %} {% endblock %} {% block header %} {% if current_user.is_authenticated %} {% if current_user.platform_admin %} {% set navigation = [ { "href": url_for('main.support'), "text": "Support", "active": header_navigation.is_selected('support') }, { "href": url_for('main.documentation'), "text": "Documentation", "active": header_navigation.is_selected('documentation') }, { "href": url_for('main.user_profile'), "text": current_user.name, "active": header_navigation.is_selected('user-profile') }, { "href": url_for('main.platform_admin'), "text": "Platform admin", "active": header_navigation.is_selected('platform-admin') }, { "href": url_for('main.sign_out'), "text": "Sign out" } ] %} {% else %} {% set navigation = [ { "href": url_for('main.support'), "text": "Support", "active": header_navigation.is_selected('support') }, { "href": url_for('main.documentation'), "text": "Documentation", "active": header_navigation.is_selected('documentation') }, { "href": url_for('main.user_profile'), "text": current_user.name, "active": header_navigation.is_selected('user-profile') }, { "href": url_for('main.sign_out'), "text": "Sign out" } ] %} {% endif %} {% else %} {% set navigation = [ { "href": url_for('main.support'), "text": "Support", "active": header_navigation.is_selected('support') }, { "href": url_for('main.features'), "text": "Features", "active": header_navigation.is_selected('features') }, { "href": url_for('main.pricing'), "text": "Pricing", "active": header_navigation.is_selected('pricing') }, { "href": url_for('main.documentation'), "text": "Documentation", "active": header_navigation.is_selected('documentation') }, { "href": url_for('main.sign_in'), "text": "Sign in", "active": header_navigation.is_selected('sign-in') } ] %} {% endif %} {{ govukHeader({ "homepageUrl": url_for('main.show_accounts_or_dashboard'), "productName": "Notify", "navigation": navigation }) }} {% endblock %} {% block footer %} {% set meta_items = [ { "href": url_for("main.privacy"), "text": "Privacy" }, { "href": url_for("main.cookies"), "text": "Cookies" } ] %} {% if current_service and current_service.research_mode %} {% set meta_suffix = 'Built by the Government Digital Serviceresearch mode' %} {% else %} {% set meta_suffix = 'Built by the Government Digital Service' %} {% endif %} {{ notify_footer({ "navigation": [ { "columns": 1, "items": [ { "href": url_for('main.support'), "text": "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" } ] }, { "columns": 1, "items": [ { "href": url_for("main.features"), "text": "Features" }, { "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" }, { "href": url_for("main.terms"), "text": "Terms of use" } ] }, { "columns": 1, "items": [ { "href": url_for("main.pricing"), "text": "Pricing" }, { "href": url_for("main.how_to_pay"), "text": "How to pay" } ] }, { "columns": 1, "items": [ { "href": url_for("main.documentation"), "text": "Documentation" } ] } ], "meta": { "items": meta_items, "html": meta_suffix } }) }} {% endblock %} {% block bodyEnd %} {% endblock %}