forked from mirrors/bookwyrm
8c26d8a514
- Fix duplicated IDs between modals for the same status. - Remove redundant button (https://github.com/mouse-reeve/bookwyrm/pull/680#discussion_r586743844). - Remove redundant `role="navigation"` on `<nav>`. - Add `dir="auto"` back for titles (https://github.com/mouse-reeve/bookwyrm/pull/680#discussion_r586715693). - Use `exists` instead of `all` for conditional statement (https://github.com/mouse-reeve/bookwyrm/pull/680#discussion_r586716299). - Fix missing spacing between avatar and username (https://github.com/mouse-reeve/bookwyrm/pull/680#discussion_r586740902).
15 lines
No EOL
338 B
HTML
15 lines
No EOL
338 B
HTML
{% spaceless %}
|
|
{% load bookwyrm_tags %}
|
|
|
|
<{% if anchor %}a href="{{ user.local_path }}"{% else %}span{% endif %}
|
|
class="user ml-1"
|
|
>
|
|
{{ 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 %} |