mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-09-08 16:53:11 -04:00
Make right-aligned big numbers left aligned
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
{% macro big_number(number, label, label_link=None, currency='', right_aligned=False) %}
|
||||
<div class="big-number{% if right_aligned %}-right-aligned{% endif %}">
|
||||
{% macro big_number(number, label, label_link=None, currency='', smaller=False) %}
|
||||
<div class="big-number{% if smaller %}-smaller{% endif %}">
|
||||
{% if number is number %}
|
||||
{% if currency %}
|
||||
{{ "{}{:,.2f}".format(currency, number) }}
|
||||
|
||||
Reference in New Issue
Block a user