{# Progress bar partial — expects user_completed_groups, user_quota in context. Set progress_compact = true before including to hide the stats text. #}
{% if not progress_compact | default(false) %}
You: {{ user_completed_groups }} / {{ user_quota }} groups rated
{% endif %} {% set pct = [user_completed_groups / user_quota * 100, 100] | min if user_quota > 0 else 0 %}
{{ pct | round(1) }}%