takahe/templates/activities/_identity.html

18 lines
527 B
HTML

{% load activity_tags %}
<div class="post user" data-takahe-id="{{ identity.id }}">
<a href="{{ identity.urls.view }}">
<img src="{{ identity.local_icon_url.relative }}" class="icon" alt="Avatar for {{ identity.name_or_handle }}" loading="lazy">
</a>
{% if created %}
<time>
{{ event.created | timedeltashort }}
</time>
{% endif %}
<a href="{{ identity.urls.view }}" class="handle">
{{ identity.html_name_or_handle }} <small>@{{ identity.handle }}</small>
</a>
</div>