mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-08-24 16:24:08 -04:00
deemphasize non-sms elements
This commit is contained in:
@@ -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>
|
||||
|
||||
@@ -1,11 +1,6 @@
|
||||
{% from "components/big-number.html" import big_number %}
|
||||
|
||||
<div class='govuk-grid-row ajax-block-container'>
|
||||
<div class='govuk-grid-column-one-half'>
|
||||
<div class="keyline-block">
|
||||
{{ big_number("Unlimited", 'free email allowance', smaller=True) }}
|
||||
</div>
|
||||
</div>
|
||||
<div class='govuk-grid-column-one-half'>
|
||||
<div class="keyline-block">
|
||||
{% if sms_cost %}
|
||||
@@ -20,14 +15,9 @@
|
||||
{% endif %}
|
||||
</div>
|
||||
</div>
|
||||
<!-- <div class='govuk-grid-column-one-third'>
|
||||
<div class='govuk-grid-column-one-half'>
|
||||
<div class="keyline-block">
|
||||
{{ big_number(
|
||||
letter_cost,
|
||||
'spent on letters',
|
||||
currency="$",
|
||||
smaller=True
|
||||
) }}
|
||||
{{ big_number("No email", 'during SMS pilot', smaller=True) }}
|
||||
</div>
|
||||
</div> -->
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -29,9 +29,8 @@
|
||||
empty_message='',
|
||||
field_headings=[
|
||||
'Month',
|
||||
'Emails',
|
||||
'Text messages',
|
||||
'letters',
|
||||
'Emails',
|
||||
],
|
||||
field_headings_visible=False,
|
||||
equal_length=True
|
||||
@@ -41,9 +40,8 @@
|
||||
{{ month.name }}
|
||||
{% endcall %}
|
||||
{% for counts, template_type in [
|
||||
(month.email_counts, 'email'),
|
||||
(month.sms_counts, 'sms'),
|
||||
(month.letter_counts, 'letter')
|
||||
(month.email_counts, 'email'),
|
||||
] %}
|
||||
{% call field(align='left') %}
|
||||
{{ big_number(
|
||||
|
||||
Reference in New Issue
Block a user