{% load i18n %} {% comment %} — the contribution roles a contributor holds, most held first, with how many records each is held on. Attributes: roles – [{label, count, percent}], percent being the share of the most held role class – extra classes on the card {% endcomment %} {% if roles %}
{% for role in roles %}
{{ role.label }}
{% blocktranslate count counter=role.count %}{{ counter }} record{% plural %}{{ counter }} records{% endblocktranslate %}
{% endfor %}
{% else %} {% translate "No roles recorded yet. Roles appear here once a credit says how the work was done." %} {% endif %}