moviewyrm/bookwyrm/templates/snippets/username.html
2020-12-12 18:25:57 -08:00

2 lines
285 B
HTML

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