mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-02-05 19:03:30 -05:00
remove big_number_simple
This commit is contained in:
@@ -57,19 +57,3 @@
|
||||
{% endif %}
|
||||
</span>
|
||||
{% 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" %}
|
||||
{% from "components/big-number.html" import big_number_simple %}
|
||||
{% from "components/status-box.html" import status_box %}
|
||||
{% from "components/form.html" import form_wrapper %}
|
||||
{% from "components/components/details/macro.njk" import usaDetails %}
|
||||
@@ -33,10 +32,14 @@
|
||||
<div class="grid-row bottom-gutter">
|
||||
{% for noti_type in global_stats %}
|
||||
<div class="grid-col-6">
|
||||
{{ big_number_simple(
|
||||
noti_type.black_box.number,
|
||||
noti_type.black_box.number|message_count_label(noti_type.black_box.notification_type)
|
||||
) }}
|
||||
<span class="big-number-dark bottom-gutter-2-3">
|
||||
<span class="big-number-number">
|
||||
{{ "{:,}".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 %}
|
||||
{{ status_box(
|
||||
|
||||
Reference in New Issue
Block a user