deemphasize non-sms elements

This commit is contained in:
stvnrlly
2022-12-01 08:53:50 -05:00
parent b3a682630b
commit 3e28baa733
7 changed files with 32 additions and 74 deletions

View File

@@ -2,18 +2,6 @@
<div class="ajax-block-container">
<div class="govuk-grid-row">
<div id="total-email" class="govuk-grid-column-one-half">
{{ big_number_with_status(
statistics['email']['requested'],
statistics['email']['requested']|message_count_label('email', suffix='sent'),
statistics['email']['failed'],
statistics['email']['failed_percentage'],
statistics['email']['show_warning'],
failure_link=url_for(".view_notifications", service_id=service_id, message_type='email', status='failed'),
link=url_for(".view_notifications", service_id=service_id, message_type='email', status='sending,delivered,failed'),
smaller=True,
) }}
</div>
<div id="total-sms" class="govuk-grid-column-one-half">
{{ big_number_with_status(
statistics['sms']['requested'],
@@ -24,19 +12,18 @@
failure_link=url_for(".view_notifications", service_id=service_id, message_type='sms', status='failed'),
link=url_for(".view_notifications", service_id=service_id, message_type='sms', status='sending,delivered,failed'),
smaller=True,
) }}
) }}
</div>
<div id="total-email" class="govuk-grid-column-one-half">
<span class="big-number-with-status">
<a class="govuk-link govuk-link--no-visited-state big-number-link" style="background-color: gray; border-color: gray;">
<span class="big-number-smaller">
<span class="big-number-number" style="color: lightgray;">0</span>
<span class="big-number-label" style="color: lightgray;">emails sent</span>
</span>
</a>
<span class="big-number-status" style="background-color: gray; border-color: gray; color: lightgray;">No failures</span>
</span>
</div>
</div>
<!-- <div id="total-letters" class="govuk-grid-column-one-third">
{{ big_number_with_status(
statistics['letter']['requested'],
statistics['letter']['requested']|message_count_label('letter', suffix='sent'),
statistics['letter']['failed'],
statistics['letter']['failed_percentage'],
statistics['letter']['show_warning'],
failure_link=url_for(".view_notifications", service_id=service_id, message_type='letter', status='failed'),
link=url_for(".view_notifications", service_id=service_id, message_type='letter', status=''),
smaller=True,
) }}
</div> -->
</div>
</div>