{% extends "table_view.html" %} {% load i18n %} {% comment %}The switcher sits at the trailing edge of the toolbar's bar, which is where django-mvp draws `page.actions` on a table page.{% endcomment %} {% block page.actions %} {% with sample_count=sample_listings|length measurement_count=measurement_listings|length %} {% if sample_count|add:measurement_count > 1 %}
{% if sample_listings %}
  • {% for entry in sample_listings %} {% endfor %} {% endif %} {% if measurement_listings %}
  • {% for entry in measurement_listings %} {% endfor %} {% endif %}
    {% endif %} {% endwith %} {% endblock page.actions %}