{% extends "base.html" %} {% load scoped_tags %} {% block title %}Events{% endblock %} {% block page_title %}Events{% endblock %} {% block page_subtitle %}Asynchronous scoped event bus (Layer 14){% endblock %} {% block layer_indicator %}L14 Events{% endblock %} {% block content %}
{{ events|length }} recent event{{ events|length|pluralize }}
{{ subscription_count }} active subscription{{ subscription_count|pluralize }}
{% if events %}
{% for event in events %} {% endfor %}
Event Type Target Actor Scope Timestamp
{% include "components/_state_badge.html" with state=event.event_type %} {% if event.target_type %} {{ event.target_type }} {% if event.target_id %}:{{ event.target_id|truncate_id }}{% endif %} {% else %} {% endif %} {{ event.actor_id|truncate_id }} {% if event.scope_id %} {{ event.scope_id|truncate_id }} {% else %} Global {% endif %} {{ event.timestamp|format_dt }}
{% else %} {% include "components/_empty_state.html" with title="No events emitted" message="Events are emitted as actions occur throughout the system. Activity will appear here automatically." %} {% endif %} {% endblock %}