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

@@ -238,6 +238,9 @@ td.table-empty-message {
// Dashboard // Dashboard
.dashboard { .dashboard {
.big-number-number {
font-weight: bold;
}
.big-number-with-status { .big-number-with-status {
a { a {
background: color("blue-60v"); background: color("blue-60v");

View File

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

View File

@@ -29,15 +29,17 @@
{{ ajax_block(partials, updates_url, 'template-statistics') }} {{ 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') %} {% 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') }} {{ ajax_block(partials, updates_url, 'usage') }}
{{ show_more( {{ show_more(
url_for(".usage", service_id=current_service['id']), url_for(".usage", service_id=current_service['id']),
'See usage' 'See usage'
) }} ) }}
{% endif %} {% endif %}
</div> </div>
{% endblock %} {% endblock %}

View File

@@ -21,7 +21,9 @@
<div class='grid-row'> <div class='grid-row'>
<div class='grid-col-12'> <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"> <div class="keyline-block">
You have sent You have sent
{{ big_number(sms_sent, 'messages of your', smaller=True) }} {{ big_number(sms_sent, 'messages of your', smaller=True) }}

1134
package-lock.json generated

File diff suppressed because it is too large Load Diff