{% load i18n creme_widgets %}{% load format_string_brace_named from creme_core_tags %} {% with length=items|length %} {% if length < threshold %} {% for item in items %}{% widget_join %}{{item}}{% end_widget_join %}{% empty %}{{empty_label}}{% endfor %} {% else %} {% if summary is None %} {% blocktrans with count=length %}{{count}} items{% endblocktrans %} {% else %} {% format_string_brace_named summary count=length %} {% endif %}
{% endif %} {% endwith %}