microblog/app/templates/admin_inbox.html

18 lines
532 B
HTML
Raw Normal View History

2022-06-25 06:23:28 +00:00
{%- import "utils.html" as utils with context -%}
{% extends "layout.html" %}
{% block content %}
{% for inbox_object in inbox %}
{% if inbox_object.ap_type == "Announce" %}
{{ 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-25 08:20:07 +00:00
{% elif inbox_object.ap_type == "Follow" %}
{{ utils.display_object(inbox_object) }}
2022-06-25 06:23:28 +00:00
{% else %}
Implement {{ inbox_object.ap_type }}
{% endif %}
{% endfor %}
{% endblock %}