Skip to content

Commit

Permalink
update verbage
Browse files Browse the repository at this point in the history
  • Loading branch information
Beverly Nguyen authored and Beverly Nguyen committed Jan 16, 2025
1 parent ae083f4 commit 7c51799
Showing 1 changed file with 11 additions and 5 deletions.
16 changes: 11 additions & 5 deletions app/templates/partials/jobs/status.html
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
{% from "components/ajax-block.html" import ajax_block %}

{% set display_message_status %}
{% if job.template.content %}
<h2 class="sms-message-header">Message</h2>
Expand All @@ -18,14 +20,18 @@ <h3>{{ job.original_file_name }}</h3>
{% endif %}
<h2>Delivery Status</h2>
{% endset %}

{{ ajax_block(
partials,
url_for('.get_notifications_as_json', service_id=current_service.id, message_type=message_type, status=status),
'job'
) }}
<div class="ajax-block-container">
<p class='bottom-gutter'>
{% if not job.finished_processing or arrived_from_preview_page_url %}
{% if job.scheduled_for %}
<div class="usa-alert usa-alert--info">
<div class="usa-alert__body">
<h2 class="usa-alert__heading">Your text has been scheduled</h2>
<h2 class="usa-alert__heading">Your message has been scheduled</h2>
<p class="usa-alert__text">
{{ job.template_name }} - {{ current_service.name }} was scheduled on {{ job.scheduled_for|format_datetime_normal }} by {{ job.created_by.name }}
</p>
Expand All @@ -38,9 +44,9 @@ <h2 class="usa-alert__heading">Your text has been scheduled</h2>
<div class="usa-alert__body">
<h2 class="usa-alert__heading">
{% if job.finished_processing %}
Your text has been sent
Your message has been sent
{% else %}
Your text is sending
Your message is sending
{% endif %}
</h2>
<p class="usa-alert__text">
Expand All @@ -57,7 +63,7 @@ <h2 class="usa-alert__heading">
<div class="usa-alert usa-alert--info">
<div class="usa-alert__body">
<h2 class="usa-alert__heading">
Your text is pending
Your message is pending
</h2>
<p class="usa-alert__text">
{{ job.template_name }} - {{ current_service.name }}
Expand Down

0 comments on commit 7c51799

Please sign in to comment.