mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-08-19 14:09:20 -04:00
Revert "Revert "Restyle template statistics and received text messages""
This commit is contained in:
@@ -1,7 +1,6 @@
|
||||
{% macro show_more(url=None, label=None) %}
|
||||
{% if url and label %}
|
||||
<a href="{{ url }}" class="show-more"><span>{{ label }}</span></a>
|
||||
{% else %}
|
||||
<span class="show-more-empty"></span>
|
||||
{% endif %}
|
||||
{% macro show_more(url, label, with_border=True) %}
|
||||
<a
|
||||
href="{{ url }}"
|
||||
class="show-more{% if not with_border %}-no-border{% endif %}"
|
||||
><span>{{ label }}</span></a>
|
||||
{% endmacro %}
|
||||
|
||||
@@ -188,11 +188,8 @@
|
||||
) %}
|
||||
{% call field(align='right') %}
|
||||
<span {% if id %}id="{{ id }}"{% endif %} class="spark-bar">
|
||||
<span style="width: {{ count / max_count * 100 }}%">
|
||||
{{ big_number(
|
||||
count,
|
||||
smallest=True
|
||||
) }}
|
||||
<span class="spark-bar-bar" style="width: {{ count / max_count * 100 }}%">
|
||||
{{ '{:,.0f}'.format(count) }}
|
||||
</span>
|
||||
</span>
|
||||
{% endcall %}
|
||||
|
||||
Reference in New Issue
Block a user