2021-03-03 19:10:09 +00:00
|
|
|
{% spaceless %}
|
2020-12-13 02:25:04 +00:00
|
|
|
{% load bookwyrm_tags %}
|
2021-03-03 19:10:09 +00:00
|
|
|
|
2021-03-03 21:58:01 +00:00
|
|
|
<{% if anchor %}a href="{{ user.local_path }}"{% else %}span{% endif %}
|
|
|
|
class="user ml-1"
|
2021-03-03 19:10:09 +00:00
|
|
|
>
|
|
|
|
{{ user.name|default:user|username }}
|
|
|
|
</a>
|
|
|
|
|
|
|
|
{% if possessive %}'s{% endif %}
|
|
|
|
|
|
|
|
{% if show_full and user.name or show_full and user.localname %}
|
|
|
|
({{ user.username }})
|
|
|
|
{% endif %}
|
|
|
|
{% endspaceless %}
|