1
0
mirror of https://git.sr.ht/~tsileo/microblog.pub synced 2025-02-25 00:17:39 +01:00
microblog.pub/app/templates/admin_stream.html

14 lines
392 B
HTML
Raw Normal View History

2022-06-22 20:11:22 +02:00
{%- import "utils.html" as utils with context -%}
{% extends "layout.html" %}
{% block content %}
{% for inbox_object in stream %}
{% if inbox_object.ap_type == "Announce" %}
2022-06-25 08:23:28 +02:00
{{ utils.display_object(inbox_object.relates_to_anybox_object) }}
{% elif inbox_object.ap_type in ["Article", "Note", "Video"] %}
{{ utils.display_object(inbox_object) }}
2022-06-22 20:11:22 +02:00
{% endif %}
{% endfor %}
{% endblock %}