fix: make actor headers consistent - don't include handle in link

This makes the link include the actor name only, for both visual consistency and to make it easier to copy handles.
ila
Aonrud 2023-03-03 14:12:11 +00:00
rodzic bd33698840
commit 97e0c4eed9
1 zmienionych plików z 5 dodań i 3 usunięć

Wyświetl plik

@ -296,10 +296,12 @@
<div class="icon-box">
<img src="{{ actor.resized_icon_url }}" alt="{{ actor.display_name }}'s avatar" class="actor-icon u-photo">
</div>
<a href="{{ actor.url }}" class="u-url">
<div><strong>{{ actor.display_name | clean_html(actor) | safe }}</strong></div>
<div>
<a href="{{ actor.url }}" class="u-url">
<strong>{{ actor.display_name | clean_html(actor) | safe }}</strong>
</a>
<div class="actor-handle p-name">{{ actor.handle }}</div>
</a>
</div>
</div>
{% if is_admin and metadata %}