bookwyrm/fedireads/templates/snippets/username.html
2020-03-09 17:48:48 -07:00

2 lines
237 B
HTML

{% load fr_display %}
<a href="/user/{{ user | username }}" class="user">{% if user.name %}{{ user.name }}{% else %}{{ user | username }}{% endif %}</a> {% if show_full and user.name or user.localname %} ({{ user.username }}){% endif %}