{% if totals.categories %}
{% if category.category_id is not none %}{{ category.name }}{% else %}{{ category.name }}{% endif %} {% if not category.is_active %}Archived{% endif %}
{{ category.category_type|title }} · {{ category.event_count }} events{% if category.category_type == "expense" and category.category_id is not none %} · {{ category_shares.get(category.category_id, 0) }}% of categorized spending{% endif %}
No activity in this period.
{% endif %}