{# @description One list of record types on the landing page: a row for each, linking to its table. #} {# @prop title:text | description:"What the list holds: Samples or Measurements." #} {# @prop icon:text | description:"The icon drawn on each row." #} {# @prop types:text | description:"The types, each with a name, description, count and url." #} {# @prop more:number | description:"How many types were left off the list, named in a last row." #} {% load i18n %} {% for type in types %}
{% if type.url %} {{ type.name|capfirst }} {% else %} {{ type.name|capfirst }} {% endif %} {% if type.description %}

{{ type.description|truncatewords:16 }}

{% endif %}
{% if type.count %}{{ type.count }}{% else %}{% translate "None" %}{% endif %}
{% endfor %} {% if more %}
{% blocktranslate count counter=more %}and {{ counter }} more kind{% plural %}and {{ counter }} more kinds{% endblocktranslate %}
{% endif %}