Catches a couple translations, hides profile box when empty

This commit is contained in:
Mouse Reeve
2021-03-04 14:27:49 -08:00
parent 577f5db37b
commit e2622d0594
6 changed files with 15 additions and 13 deletions

View File

@ -4,7 +4,7 @@
<{% if anchor %}a href="{{ user.local_path }}"{% else %}span{% endif %}
class="user ml-1"
>
{{ user.name|default:user|username }}
{{ user.display_name }}
</a>
{% if possessive %}'s{% endif %}
@ -12,4 +12,4 @@
{% if show_full and user.name or show_full and user.localname %}
({{ user.username }})
{% endif %}
{% endspaceless %}
{% endspaceless %}