microblog/app/templates/admin_profile.html

30 lines
877 B
HTML
Raw Normal View History

2022-06-25 10:19:12 +00:00
{%- import "utils.html" as utils with context -%}
2022-08-02 18:40:43 +00:00
{% block head %}
<title>{{ local_actor.display_name }} - {{ actor.display_name }}</title>
{% endblock %}
2022-06-25 10:19:12 +00:00
{% extends "layout.html" %}
{% block content %}
2022-07-27 17:36:55 +00:00
{{ utils.display_actor(actor, actors_metadata, with_details=True) }}
2022-06-25 10:19:12 +00:00
{% for inbox_object in inbox_objects %}
2022-07-27 16:56:14 +00:00
{% if inbox_object.ap_type == "Announce" %}
2022-08-26 06:10:46 +00:00
{{ utils.actor_action(inbox_object, "shared", with_icon=True) }}
2022-07-27 16:56:14 +00:00
{{ utils.display_object(inbox_object.relates_to_anybox_object) }}
{% else %}
{{ utils.display_object(inbox_object) }}
{% endif %}
2022-06-25 10:19:12 +00:00
{% endfor %}
2022-08-26 06:10:46 +00:00
{% if next_cursor %}
<div class="box">
<p>
<a href="{{ request.url._path }}?actor_id={{ request.query_params.actor_id }}&cursor={{ next_cursor }}">
See more
</a>
</p>
</div>
{% endif %}
2022-06-25 10:19:12 +00:00
{% endblock %}