takahe/templates/activities/_identity.html

18 lines
527 B
HTML
Raw Normal View History

2022-11-17 17:52:00 -08:00
{% load activity_tags %}
2022-12-21 12:09:12 -08:00
<div class="post user" data-takahe-id="{{ identity.id }}">
2022-11-17 17:52:00 -08:00
<a href="{{ identity.urls.view }}">
2022-12-17 16:01:07 -08:00
<img src="{{ identity.local_icon_url.relative }}" class="icon" alt="Avatar for {{ identity.name_or_handle }}" loading="lazy">
</a>
2022-11-17 17:52:00 -08:00
{% if created %}
<time>
{{ event.created | timedeltashort }}
</time>
{% endif %}
<a href="{{ identity.urls.view }}" class="handle">
2022-12-14 23:50:54 -08:00
{{ identity.html_name_or_handle }} <small>@{{ identity.handle }}</small>
2022-11-17 17:52:00 -08:00
</a>
</div>