From 6546c0d8be4add46d51a492965683b4dac7ad826 Mon Sep 17 00:00:00 2001 From: Mouse Reeve Date: Mon, 9 Mar 2020 17:53:05 -0700 Subject: [PATCH] Fixes logic in username display_full --- fedireads/templates/snippets/username.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 %}