{% 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 %}