bookwyrm/fedireads/templates/snippets/username.html

3 lines
237 B
HTML
Raw Normal View History

2020-02-22 00:03:05 +00:00
{% 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 %}