diff --git a/app/templates/admin_template.html b/app/templates/admin_template.html index cfa92a7e0..921efdc5e 100644 --- a/app/templates/admin_template.html +++ b/app/templates/admin_template.html @@ -175,7 +175,7 @@ {% endblock %} {% block footer %} - + {% if current_service and current_service.research_mode %} {% set meta_suffix = 'Built by the Technology Transformation Servicesresearch mode' %} {% else %} @@ -251,7 +251,6 @@ "html": meta_suffix } }) }} - {% if current_user.is_authenticated %} {% block sessionUserWarning %} diff --git a/app/templates/components/components/footer/template.njk b/app/templates/components/components/footer/template.njk index f540b8337..07bcd4f3e 100644 --- a/app/templates/components/components/footer/template.njk +++ b/app/templates/components/components/footer/template.njk @@ -4,38 +4,6 @@ #} diff --git a/app/templates/new/base.html b/app/templates/new/base.html index 4d5279342..95039ce4f 100644 --- a/app/templates/new/base.html +++ b/app/templates/new/base.html @@ -1,11 +1,10 @@ {% from "../components/banner.html" import banner %} {% from "../components/components/skip-link/macro.njk" import usaSkipLink -%} -{% from "../components/components/footer/macro.njk" import usaFooter -%} - {% include "new/components/head/head.html" %} + {% include "new/components/head.html" %} {% block bodyStart %} @@ -24,7 +23,6 @@ }) }} {% endblock %} - {# region header #} {% block header %} {% if current_user.is_authenticated %} {% include 'new/components/usa_banner.html' %} @@ -32,7 +30,6 @@ {% endif %} {% endblock %} - {% block main %}
{% block beforeContent %} @@ -67,88 +64,18 @@
{% endblock %} - - {% block footer %} {% if current_service and current_service.research_mode %} {% set meta_suffix = 'Built by the Technology Transformation Servicesresearch mode' %} {% else %} - {% set meta_suffix = 'Built by the Technology Transformation Services' %} + {% set commit_hash = ", Latest version: " + config['COMMIT_HASH'] %} + {% set long_link = 'Technology Transformation Services' %} + {% set meta_suffix = "Built by the " + long_link + commit_hash %} {% endif %} - {{ usaFooter({ - "classes": "js-footer", - "navigation": [ - { - "title": "About Notify", - "columns": 1, - "items": [ - { - "href": url_for("main.features"), - "text": "Features" - }, - { - "href": url_for("main.roadmap"), - "text": "Roadmap" - }, - { - "href": url_for("main.security"), - "text": "Security" - }, - { - "href": url_for("main.terms"), - "text": "Terms of use" - }, - ] - }, - { - "title": "Using Notify", - "columns": 1, - "items": [ - { - "href": url_for("main.get_started"), - "text": "Get started" - }, - { - "href": url_for("main.pricing"), - "text": "Pricing" - }, - { - "href": url_for("main.trial_mode_new"), - "text": "Trial mode" - }, - { - "href": url_for("main.message_status"), - "text": "Delivery status" - }, - { - "href": url_for("main.guidance_index"), - "text": "Guidance" - }, - { - "href": url_for("main.documentation"), - "text": "API documentation" - } - ] - }, - { - "title": "Support", - "columns": 1, - "items": [ - { - "href": url_for('main.support'), - "text": "Contact us" - }, - ] - }, - ], - "meta": { - "items": meta_items, - "html": meta_suffix - } - }) }} + {% include "new/components/footer.html" %} {% if current_user.is_authenticated %} {% block sessionUserWarning %} @@ -186,7 +113,6 @@ {% endif %} {% endblock %} - {% block bodyEnd %} {% block extra_javascripts %} diff --git a/app/templates/new/components/footer/footer.html b/app/templates/new/components/footer.html similarity index 58% rename from app/templates/new/components/footer/footer.html rename to app/templates/new/components/footer.html index fa22b6a88..45e6525a7 100644 --- a/app/templates/new/components/footer/footer.html +++ b/app/templates/new/components/footer.html @@ -1,48 +1,14 @@