diff --git a/fedireads/templates/snippets/username.html b/fedireads/templates/snippets/username.html index ea4381e5..3acbf6af 100644 --- a/fedireads/templates/snippets/username.html +++ b/fedireads/templates/snippets/username.html @@ -1,2 +1,2 @@ {% load fr_display %} -{% if user.name %}{{ user.name }}{% else %}{{ user | username }}{% endif %} {% if show_full and user.name or user.localname %} ({{ user.username }}){% endif %} +{% if user.name %}{{ user.name }}{% else %}{{ user | username }}{% endif %} {% if show_full and user.name or show_full and user.localname %} ({{ user.username }}){% endif %}