Add message status page

This commit is contained in:
Chris Hill-Scott
2019-04-09 15:24:07 +01:00
parent 22cbd8fd11
commit 5a9c25d6be
3 changed files with 16 additions and 3 deletions

View File

@@ -285,6 +285,14 @@ def using_notify():
)
@main.route('/features/messages-status')
def message_status():
return render_template(
'views/message-status.html',
navigation_links=features_nav()
)
# --- Redirects --- #
@main.route('/roadmap', endpoint='old_roadmap')

View File

@@ -32,4 +32,8 @@ def features_nav():
"name": "Using Notify",
"link": "main.using_notify",
},
{
"name": "Message status",
"link": "main.message_status",
},
]

View File

@@ -1,5 +1,6 @@
{% extends "withoutnav_template.html" %}
{% from "components/sub-navigation.html" import sub_navigation %}
{% from "components/table.html" import mapping_table, row, text_field %}
{% block per_page_title %}
What happens when you send a message OR Message states youll see in Notify
@@ -27,7 +28,7 @@
style="width: 100%;"
>
<h2 id="messagestatus" class="heading-medium">Message statuses youll see in Notify</h2>
<h3 class="heading-small">Emails and text messages</h3>
<div class="bottom-gutter-3-2">
{% call mapping_table(
@@ -72,10 +73,10 @@
{% endfor %}
{% endcall %}
</div>
<p><a href="https://www.notifications.service.gov.uk/documentation">Read our documentation</a> for a detailed list of API message statuses.</p>
</div>
</div>