mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-08-16 20:49:00 -04:00
remove big_number_simple
This commit is contained in:
@@ -57,19 +57,3 @@
|
|||||||
{% endif %}
|
{% endif %}
|
||||||
</span>
|
</span>
|
||||||
{% endmacro %}
|
{% endmacro %}
|
||||||
|
|
||||||
|
|
||||||
{% macro big_number_simple(number, label) %}
|
|
||||||
<span class="big-number-dark bottom-gutter-2-3">
|
|
||||||
<span class="big-number-number">
|
|
||||||
{% if number is number %}
|
|
||||||
{{ "{:,}".format(number) }}
|
|
||||||
{% else %}
|
|
||||||
{{ number }}
|
|
||||||
{% endif %}
|
|
||||||
</span>
|
|
||||||
{% if label %}
|
|
||||||
<span class="big-number-label">{{ label }}</span>
|
|
||||||
{% endif %}
|
|
||||||
</span>
|
|
||||||
{% endmacro %}
|
|
||||||
|
|||||||
@@ -1,5 +1,4 @@
|
|||||||
{% extends "views/platform-admin/_base_template.html" %}
|
{% extends "views/platform-admin/_base_template.html" %}
|
||||||
{% from "components/big-number.html" import big_number_simple %}
|
|
||||||
{% from "components/status-box.html" import status_box %}
|
{% from "components/status-box.html" import status_box %}
|
||||||
{% from "components/form.html" import form_wrapper %}
|
{% from "components/form.html" import form_wrapper %}
|
||||||
{% from "components/components/details/macro.njk" import usaDetails %}
|
{% from "components/components/details/macro.njk" import usaDetails %}
|
||||||
@@ -33,10 +32,14 @@
|
|||||||
<div class="grid-row bottom-gutter">
|
<div class="grid-row bottom-gutter">
|
||||||
{% for noti_type in global_stats %}
|
{% for noti_type in global_stats %}
|
||||||
<div class="grid-col-6">
|
<div class="grid-col-6">
|
||||||
{{ big_number_simple(
|
<span class="big-number-dark bottom-gutter-2-3">
|
||||||
noti_type.black_box.number,
|
<span class="big-number-number">
|
||||||
noti_type.black_box.number|message_count_label(noti_type.black_box.notification_type)
|
{{ "{:,}".format(noti_type.black_box.number) }}
|
||||||
) }}
|
</span>
|
||||||
|
<span class="big-number-label">
|
||||||
|
{{ noti_type.black_box.number|message_count_label(noti_type.black_box.notification_type) }}
|
||||||
|
</span>
|
||||||
|
</span>
|
||||||
|
|
||||||
{% for item in noti_type.other_data %}
|
{% for item in noti_type.other_data %}
|
||||||
{{ status_box(
|
{{ status_box(
|
||||||
|
|||||||
Reference in New Issue
Block a user