{% extends "admin/base_site.html" %} {% load humanize i18n static %} {% block extrastyle %}{{ block.super }}{% endblock %} {% block content_title %}{{ index_title|default:site_header }}{% endblock %} {% block content %}
{% if dashboard.stats and dashboard.config.show_stats != False %}
{% for stat in dashboard.stats %}
{{ stat.label }}
{{ stat.value }}
{% if stat.description %}
{{ stat.description }}
{% endif %}
{% if stat.icon %}{% endif %}
{% endfor %}
{% endif %}
{% if dashboard.config.show_activity != False %}

{% trans "Activity overview" %}

{% trans "Admin actions over time" %}

{% blocktranslate count days=dashboard.days %}Last {{ days }} day{% plural %}Last {{ days }} days{% endblocktranslate %}
{% for point in dashboard.chart %}
{{ point.count }}
{{ point.label }}
{% endfor %}
{% endif %} {% if dashboard.actions and dashboard.config.show_actions != False %}

{% trans "Quick access" %}

{% trans "Get started with common actions" %}

{% for action in dashboard.actions %}{% if action.icon %}{% endif %}{{ action.label }}{% endfor %}
{% endif %}
{% if dashboard.user_chart %}

{% trans "New users" %}

{% trans "User registrations over time" %}

{% blocktranslate count days=dashboard.days %}Last {{ days }} day{% plural %}Last {{ days }} days{% endblocktranslate %}
{% for point in dashboard.user_chart.points %}
{{ point.count }}
{{ point.label }}
{% endfor %}
{% endif %} {% if dashboard.config.show_history != False %}

{% trans "Latest changes" %}

{% trans "Recent admin activity" %}

{% if dashboard.log_url %}{% trans "Show all" %}{% endif %}
{% for item in dashboard.history %}{% with entry=item.entry %}{% endwith %}{% empty %}{% endfor %}
{% trans "Object" %}{% trans "Action" %}{% trans "At Time" %}{% trans "Admin" %}
{% if item.url %}{{ entry.object_repr }}{% else %}{{ entry.object_repr }}{% endif %}
{% if entry.content_type %}{{ entry.content_type }}{% else %}{% trans "Unknown" %}{% endif %}
{{ entry.get_action_flag_display }}
{{ entry.user }}
{% trans "No recent activity yet." %}
{% endif %}
{% endblock %}