mirror of
https://github.com/jointakahe/takahe.git
synced 2024-11-13 02:41:08 +00:00
8f57aa5f37
Redoes the UI to remove timelines, promote domains, and a lot of other things to support the refactor.
33 lines
973 B
HTML
33 lines
973 B
HTML
<div class="identity-banner">
|
||
{% if link_avatar is False %}
|
||
<div class="avatar-link">
|
||
{% else %}
|
||
<a href="{{ identity.urls.view }}" tabindex="-1" class="avatar-link">
|
||
{% endif %}
|
||
<img
|
||
src="{{ identity.local_icon_url.relative }}"
|
||
class="icon"
|
||
alt="Avatar for {{ identity.name_or_handle }}"
|
||
loading="lazy"
|
||
data-handle="{{ identity.name_or_handle }}"
|
||
_="on error set my.src to generate_avatar(@data-handle)"
|
||
>
|
||
{% if link_avatar is False %}
|
||
</div>
|
||
{% else %}
|
||
</a>
|
||
{% endif %}
|
||
|
||
{% if link_handle is False %}
|
||
<div class="handle">
|
||
{% else %}
|
||
<a href="{{ identity.urls.view }}" class="handle">
|
||
{% endif %}
|
||
<div class="link">{{ identity.html_name_or_handle }}</div>
|
||
<small>@{{ identity.username }}@{{ identity.domain_id }}</small>
|
||
{% if link_handle is False %}
|
||
</div>
|
||
{% else %}
|
||
</a>
|
||
{% endif %}
|
||
</div>
|