More actor icons

This commit is contained in:
Thomas Sileo
2022-08-26 07:43:39 +02:00
parent 365e6cc534
commit 63073279e1
7 changed files with 23 additions and 4 deletions

View File

@@ -7,7 +7,7 @@
{% macro notif_actor_action(notif, text) %}
<div class="actor-action">
<a href="{{ url_for("admin_profile") }}?actor_id={{ notif.actor.ap_id }}">{{ notif.actor.display_name | clean_html(notif.actor) | safe }}</a> {{ text }}
<a href="{{ url_for("admin_profile") }}?actor_id={{ notif.actor.ap_id }}">{{ utils.display_tiny_actor_icon(notif.actor) }} {{ notif.actor.display_name | clean_html(notif.actor) | safe }}</a> {{ text }}
<span title="{{ notif.created_at.isoformat() }}">{{ notif.created_at | timeago }}</span>
</div>
{% endmacro %}