bookwyrm-mastodon/fedireads/templates/snippets/username.html

3 lines
251 B
HTML
Raw Normal View History

2020-02-21 19:03:05 -05:00
{% load fr_display %}
2020-03-09 20:53:05 -04:00
<a href="/user/{{ user | username }}" class="user">{% if user.name %}{{ user.name }}{% else %}{{ user | username }}{% endif %}</a> {% if show_full and user.name or show_full and user.localname %} ({{ user.username }}){% endif %}