{# @description For the record's team only: a ring with how much is in place, what is missing with a link to fix each, and what is done folded away. #}
{# @prop readiness:dict | description:"{title, summary, about, done, total, ready, items: [{label, done, url, required}]}. required false marks an item as recommended." #}
{# @slot — An action the checklist leads to. #}
{% load i18n %}
{{ readiness.title }}
{% translate "Team" %}
{{ readiness.done }}/{{ readiness.total }}
{{ readiness.summary }}
{% if readiness.about %}
{{ readiness.about }}
{% endif %}
{% if readiness.done < readiness.total %}
{% for item in readiness.items %}
{% if not item.done %}
{{ item.label }}{% if item.required is False %} ({% translate "recommended" %}){% endif %} — {% translate "missing" %}
{% if item.url %}{% translate "Fix" %}{% endif %}
{% endif %}
{% endfor %}
{% endif %}
{% if slot %}
{{ slot }}
{% endif %}
{% if readiness.done %}
{% blocktranslate count counter=readiness.done %}{{ counter }} in place{% plural %}{{ counter }} in place{% endblocktranslate %}
{% for item in readiness.items %}{% if item.done %}