Add message status page

This commit is contained in:
Chris Hill-Scott
2019-04-11 10:31:29 +01:00
parent 22cbd8fd11
commit 5a9c25d6be
3 changed files with 16 additions and 3 deletions
+8
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 --- # # --- Redirects --- #
@main.route('/roadmap', endpoint='old_roadmap') @main.route('/roadmap', endpoint='old_roadmap')
@@ -32,4 +32,8 @@ def features_nav():
"name": "Using Notify", "name": "Using Notify",
"link": "main.using_notify", "link": "main.using_notify",
}, },
{
"name": "Message status",
"link": "main.message_status",
},
] ]
+4 -3
View File
@@ -1,5 +1,6 @@
{% extends "withoutnav_template.html" %} {% extends "withoutnav_template.html" %}
{% from "components/sub-navigation.html" import sub_navigation %} {% from "components/sub-navigation.html" import sub_navigation %}
{% from "components/table.html" import mapping_table, row, text_field %}
{% block per_page_title %} {% block per_page_title %}
What happens when you send a message OR Message states youll see in Notify What happens when you send a message OR Message states youll see in Notify
@@ -27,7 +28,7 @@
style="width: 100%;" style="width: 100%;"
> >
<h2 id="messagestatus" class="heading-medium">Message statuses youll see in Notify</h2> <h2 id="messagestatus" class="heading-medium">Message statuses youll see in Notify</h2>
<h3 class="heading-small">Emails and text messages</h3> <h3 class="heading-small">Emails and text messages</h3>
<div class="bottom-gutter-3-2"> <div class="bottom-gutter-3-2">
{% call mapping_table( {% call mapping_table(
@@ -72,10 +73,10 @@
{% endfor %} {% endfor %}
{% endcall %} {% endcall %}
</div> </div>
<p><a href="https://www.notifications.service.gov.uk/documentation">Read our documentation</a> for a detailed list of API message statuses.</p> <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>
</div> </div>