mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-08-24 16:24:08 -04:00
Add ids for dashboard numbers and stats to be used by the functional tests
This commit is contained in:
@@ -15,6 +15,7 @@
|
||||
],
|
||||
field_headings_visible=True
|
||||
) %}
|
||||
|
||||
{% call row_heading() %}
|
||||
<span class="spark-bar-label">
|
||||
<a href="{{ url_for('.view_template', service_id=current_service.id, template_id=item.template_id) }}">{{ item.template_name }}</a>
|
||||
@@ -25,7 +26,7 @@
|
||||
{% endcall %}
|
||||
{% call field() %}
|
||||
{% if template_statistics|length > 1 %}
|
||||
<span class="spark-bar">
|
||||
<span id='{{item.template_id}}' class="spark-bar">
|
||||
<span style="width: {{ item.count / most_used_template_count * 100 }}%">
|
||||
{{ big_number(
|
||||
item.count,
|
||||
@@ -34,7 +35,7 @@
|
||||
</span>
|
||||
</span>
|
||||
{% else %}
|
||||
<span class="heading-small">
|
||||
<span id='{{item.template_id}}' class="heading-small">
|
||||
{{ big_number(
|
||||
item.count,
|
||||
smallest=True
|
||||
|
||||
Reference in New Issue
Block a user