{% extends "flask_deck/base.html" %} {% block breadcrumbs %} / {{ category_name }} {% endblock %} {% block content %}

{{ category_name }}

{{ model_cards | length }} resource(s) in this category

{{ deck_icon("arrow-left", 13) }} {{ _("Dashboard") }}
{% for card in model_cards %}
{{ deck_icon(card.icon, 15) }}

{{ card.label }}

{% if card.count is not none %} {{ "{:,}".format(card.count) }} {% endif %}
{% endfor %}
{% if recent_audit %}

{{ _("Recent Events") }} · {{ category_name }}

{{ _("All →") }}
{% for entry in recent_audit %}
{{ entry.action }} {{ entry.model_label }} · {{ entry.record_repr }} by {{ entry.actor_name }}
{{ format_dt(entry.timestamp, '%Y-%m-%d %H:%M') }}
{% endfor %}
{% endif %}
{% endblock %}