takahe/templates/activities/_identity.html
2022-12-21 20:09:12 +00:00

17 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>