{% load i18n humanize %} {% comment %} — the heading of a page listing one sample or measurement type. The heading names the type shown, underlined in the colour of its kind. Where more than one type is offered, the heading is also the switcher between them: a dropdown in the title's place, with a caret, listing each type with its count. Otherwise it is a plain heading. Attributes: name – the type's plural name kind – "sample" or "measurement", which sets the underline colour entries – the types offered, as dicts of name, url, count and is_current boost – swap the page's
in place when a type is chosen, rather than load a new page {% endcomment %} {% if entries|length > 1 %}

{% for entry in entries %} {% endfor %}

{% else %}

{{ name }}

{% endif %}