800 - combining and updating the wording around messages remaining

This commit is contained in:
Jonathan Bobel
2023-10-31 12:03:21 -04:00
parent f31a78cbcd
commit 0cc91b43a9
5 changed files with 328 additions and 823 deletions

View File

@@ -27,8 +27,4 @@
{% endif %}
</ul>
</nav>
<div>
<p class="usa--body bold margin-bottom-1">Messages Left Across Services</p>
<p>{{ daily_global_messages_remaining }}</p>
</div>
{% endif %}

View File

@@ -29,15 +29,17 @@
{{ ajax_block(partials, updates_url, 'template-statistics') }}
<h2 class="heading-small margin-bottom-1">Daily messages across all services</h2>
<p class="margin-top-0"><strong>{{ daily_global_messages_remaining }}</strong> free text messages left</p>
{% if current_user.has_permissions('manage_service') %}
<h2 class='font-body-lg margin-bottom-0'>This year</h2>
<h2 class='font-body-lg margin-bottom-1'>This year</h2>
{{ ajax_block(partials, updates_url, 'usage') }}
{{ show_more(
url_for(".usage", service_id=current_service['id']),
'See usage'
) }}
{% endif %}
</div>
{% endblock %}

View File

@@ -21,7 +21,9 @@
<div class='grid-row'>
<div class='grid-col-12'>
<h2 class='heading-small'>Text messages</h2>
<h2 class="heading-small margin-bottom-1">Daily messages across all services</h2>
<p class="margin-top-0"><strong>{{ daily_global_messages_remaining }}</strong> free text messages left</p>
<h2 class='heading-small margin-bottom-1'>Text messages</h2>
<div class="keyline-block">
You have sent
{{ big_number(sms_sent, 'messages of your', smaller=True) }}