Fixes logic in username display_full

This commit is contained in:
Mouse Reeve 2020-03-09 17:53:05 -07:00
parent 62d0d1318d
commit 6546c0d8be

View file

@ -1,2 +1,2 @@
{% load fr_display %}
<a href="/user/{{ user | username }}" class="user">{% if user.name %}{{ user.name }}{% else %}{{ user | username }}{% endif %}</a> {% if show_full and user.name or user.localname %} ({{ user.username }}){% endif %}
<a href="/user/{{ user | username }}" class="user">{% if user.name %}{{ user.name }}{% else %}{{ user | username }}{% endif %}</a> {% if show_full and user.name or show_full and user.localname %} ({{ user.username }}){% endif %}