{%- import "utils.html" as utils with context -%} {% extends "layout.html" %} {% block content %} {% if show_filters %} {{ utils.display_box_filters("admin_inbox") }} {% endif %} {% macro actor_action(inbox_object, text) %}
{{ inbox_object.actor.display_name }} {{ text }} {{ inbox_object.ap_published_at | timeago }}
{% endmacro %} {% for inbox_object in inbox %} {% if inbox_object.ap_type == "Announce" %} {{ actor_action(inbox_object, "shared") }} {{ utils.display_object(inbox_object.relates_to_anybox_object) }} {% elif inbox_object.ap_type in ["Article", "Note", "Video"] %} {{ utils.display_object(inbox_object) }} {% elif inbox_object.ap_type == "Follow" %} {{ actor_action(inbox_object, "followed you") }} {{ utils.display_actor(inbox_object.actor, actors_metadata) }} {% elif inbox_object.ap_type == "Like" %} {{ actor_action(inbox_object, "liked one of your post") }} {{ utils.display_object(inbox_object.relates_to_anybox_object) }} {% else %}

Implement {{ inbox_object.ap_type }} {{ inbox_object.ap_object }}

{% endif %} {% endfor %} {% if next_cursor %}

See more

{% endif %} {% endblock %}