mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-08-23 07:46:23 -04:00
Format statuses as a table
Format statuses as a table
This commit is contained in:
committed by
Chris Hill-Scott
parent
4827c7f4ba
commit
574f7bb149
@@ -19,7 +19,6 @@
|
|||||||
<p>Notify’s real-time dashboard lets you check the status of any message, to see when it was delivered. You can use our API to check the status of your messages too.</p>
|
<p>Notify’s real-time dashboard lets you check the status of any message, to see when it was delivered. You can use our API to check the status of your messages too.</p>
|
||||||
<p>For security, this information is only available for X days after a message has been sent. You can download a list of sent messages for your own records.</p>
|
<p>For security, this information is only available for X days after a message has been sent. You can download a list of sent messages for your own records.</p>
|
||||||
|
|
||||||
<p><a href="https://www.notifications.service.gov.uk/documentation">Read our documentation</a> for a detailed list of API message statuses.</p>
|
|
||||||
<img
|
<img
|
||||||
src="{{ asset_url('images/message-sending-flow.svg') }}"
|
src="{{ asset_url('images/message-sending-flow.svg') }}"
|
||||||
alt="A picture of the sending flow of messages in Notify, showing the three states of Sending, Delivered, And Failed. Also shows the next
|
alt="A picture of the sending flow of messages in Notify, showing the three states of Sending, Delivered, And Failed. Also shows the next
|
||||||
@@ -27,36 +26,56 @@
|
|||||||
temporary failures"
|
temporary failures"
|
||||||
style="width: 100%;"
|
style="width: 100%;"
|
||||||
>
|
>
|
||||||
<h2 id="messagestatus" class="heading-medium">Message status – emails and text messages</h2>
|
<h2 id="messagestatus" class="heading-medium">Message states you’ll see in Notify</h2>
|
||||||
<h3 class="heading-small">Sending</h3>
|
|
||||||
<p>GOV.UK Notify has sent the message to the provider. The provider will try to deliver the message to the recipient. GOV.UK Notify is waiting for delivery information.</p>
|
<h3 class="heading-small">Emails and text messages</h3>
|
||||||
<h3 class="heading-small">Sent internationally (text messages only)</h3>
|
<div class="bottom-gutter-3-2">
|
||||||
<p>The message was sent to an international number. The mobile networks in some countries do not provide any more delivery information.</p>
|
{% call mapping_table(
|
||||||
<h3 class="heading-small">Delivered</h3>
|
caption='Message statuses – email and text message',
|
||||||
<p>The message was successfully delivered.</p>
|
field_headings=['Status', 'Description'],
|
||||||
<p>Notify will not tell you if a user has opened or read a message.</p>
|
field_headings_visible=True,
|
||||||
<h3 class="heading-small" id="does-not-exist">Phone number or email address does not exist</h3>
|
caption_visible=False
|
||||||
<p>The provider could not deliver the message because the email address or phone number was wrong.
|
) %}
|
||||||
<p>You should remove these email addresses or phone numbers from your database.</p>
|
{% for message_length, charge in [
|
||||||
<p>You’ll still be charged for text messages to numbers that do not exist.</p>
|
('Sending', 'GOV.UK Notify has sent the message to the provider. The provider will try to deliver the message to the recipient. GOV.UK Notify is waiting for delivery information.'),
|
||||||
<h3 class="heading-small" id="not-accepting-messages">Inbox or phone not accepting messages right now</h3>
|
('Sent internationally (text messages only)', 'The message was sent to an international number. The mobile networks in some countries do not provide any more delivery information.'),
|
||||||
<p>The provider could not deliver the message after trying for 72 hours.</p>
|
('Delivered', 'The message was successfully delivered. Notify will not tell you if a user has opened or read a message.'),
|
||||||
<p>This can happen when the recipient’s inbox is full or their phone is off.</p>
|
('Phone number or email address does not exist', 'The provider could not deliver the message because the email address or phone number was wrong. You should remove these email addresses or phone numbers from your database. You’ll still be charged for text messages to numbers that do not exist.'),
|
||||||
<p>You can try to send the message again.</p>
|
('Inbox or phone not accepting messages right now', 'The provider could not deliver the message after trying for 72 hours. This can happen when the recipient’s inbox is full or their phone is off. You can try to send the message again. You’ll still be charged for text messages to phones that are not accepting messages.'),
|
||||||
<p>You’ll still be charged for text messages to phones that are not accepting messages.</p>
|
('Technical failure', 'Your message was not sent because there was a problem between Notify and the provider. You’ll have to try sending your messages again. You will not be charged for text messages that are affected by a technical failure.'),
|
||||||
<h3 class="heading-small" id="technical-failure">Technical failure</h3>
|
] %}
|
||||||
<p>Your message was not sent because there was a problem between Notify and the provider.</p>
|
{% call row() %}
|
||||||
<p>You’ll have to try sending your messages again.</p>
|
{{ text_field(message_length) }}
|
||||||
<p>You will not be charged for text messages that are affected by a technical failure.</p>
|
{{ text_field(charge) }}
|
||||||
|
{% endcall %}
|
||||||
|
{% endfor %}
|
||||||
|
{% endcall %}
|
||||||
|
</div>
|
||||||
|
|
||||||
<h2 class="heading-medium">Message status – letters</h2>
|
<h3 class="heading-small"></h3>
|
||||||
<h3 class="heading-small">Sent</h3>
|
<div class="bottom-gutter-3-2">
|
||||||
<p>GOV.UK Notify has sent the letter to the provider to be printed.</p>
|
{% call mapping_table(
|
||||||
<h3 class="heading-small">Cancelled</h3>
|
caption='Letters',
|
||||||
<p>Sending cancelled. Your letter will not be printed or dispatched.</p>
|
field_headings=['Status', 'Description'],
|
||||||
<h3 class="heading-small">Technical failure</h3>
|
field_headings_visible=True,
|
||||||
<p>GOV.UK Notify had an unexpected error while sending to our printing provider.</p>
|
caption_visible=False
|
||||||
|
) %}
|
||||||
|
{% for message_length, charge in [
|
||||||
|
('Sent', 'GOV.UK Notify has sent the letter to the provider to be printed.'),
|
||||||
|
('Cancelled', 'Sending cancelled. Your letter will not be printed or dispatched.'),
|
||||||
|
('Technical failure', 'GOV.UK Notify had an unexpected error while sending to our printing provider.'),
|
||||||
|
] %}
|
||||||
|
{% call row() %}
|
||||||
|
{{ text_field(message_length) }}
|
||||||
|
{{ text_field(charge) }}
|
||||||
|
{% endcall %}
|
||||||
|
{% 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>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user