{% extends "insights/base.html" %} {% block content %} {% with counters=object.counters.all gauges=object.gauges.all %} {% if counters or gauges or buckets %} {% if counters or gauges %}
{% for counter in counters %} {% include "insights/_stat.html" with item=counter kind="Counter" %} {% endfor %} {% for gauge in gauges %} {% include "insights/_stat.html" with item=gauge kind="Gauge" %} {% endfor %}
{% endif %} {% if buckets %}
{% for bucket in buckets %} {% include "insights/_bucket.html" %} {% endfor %}
{% endif %} {% else %} {% include "insights/_empty.html" %} {% endif %} {% endwith %} {% endblock content %}