2016-04-11 09:58:36 +01:00
|
|
|
{% from "components/table.html" import list_table, field, hidden_field_heading, right_aligned_field_heading %}
|
2016-05-03 13:25:22 +01:00
|
|
|
|
2016-05-11 15:05:40 +01:00
|
|
|
<dl>
|
|
|
|
|
{% for item in template_statistics %}
|
|
|
|
|
<div class="grid-row">
|
|
|
|
|
|
|
|
|
|
<dt class="column-half">
|
|
|
|
|
<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>
|
|
|
|
|
</span>
|
|
|
|
|
</dt>
|
2016-04-05 11:40:13 +01:00
|
|
|
|
2016-05-11 15:05:40 +01:00
|
|
|
<dd class="column-half">
|
|
|
|
|
<span class="spark-bar">
|
|
|
|
|
<span style="width: {{ item.usage_count / most_used_template_count * 66.6 }}%"></span>
|
|
|
|
|
{{ item.usage_count }} <span class="visuallyhidden">messages sent</span>
|
|
|
|
|
</span>
|
|
|
|
|
</dd>
|
|
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
{% endfor %}
|
|
|
|
|
</dl>
|