{% load i18n %} {% if usage_detail.has_usage %}
{% trans "Visits / 30d" %}
{{ usage_detail.activity_30d_count }}
{% trans "Recent recorded activity" %}
{% trans "All-time visits" %}
{{ usage_detail.total_usage_count }}
{% trans "Since usage tracking began" %}
{% trans "Last visit" %}
{{ usage_detail.last_used_at|date:"Y-m-d H:i" }}
{% if usage_detail.first_used_at %}{% trans "First" %}: {{ usage_detail.first_used_at|date:"Y-m-d" }}{% endif %}

{% trans "Top pages" %}

{% trans "Recorded page visits · 30 days" %}
{% if not usage_detail.page_breakdown_matches_activity_30d %}
{% blocktrans with categorized=usage_detail.page_total_30d overall=usage_detail.activity_30d_count %} The page breakdown contains {{ categorized }} categorized visits, while overall activity contains {{ overall }}. Treat the breakdown as approximate. {% endblocktrans %}
{% endif %} {% if usage_detail.page_bars %}
{% for page in usage_detail.page_bars %}
{{ page.label }} {{ page.recent_30d_count }} · {{ page.page_share_percent }}%
{% endfor %}
{% else %}
{% trans "No page usage has been recorded for this period." %}
{% endif %}
{% else %}
{% trans "Usage detail will appear after the user opens an Indy Hub page." %}
{% endif %}