From f3c965e663d16e62c0fd94e7e6c56711a9777301 Mon Sep 17 00:00:00 2001 From: Vidya Ramakrishnan Date: Wed, 26 Jun 2024 15:10:33 +0530 Subject: [PATCH] Display username if it exists --- funnel/templates/profile_layout.html.jinja2 | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/funnel/templates/profile_layout.html.jinja2 b/funnel/templates/profile_layout.html.jinja2 index 915da9721..07a73ee9f 100644 --- a/funnel/templates/profile_layout.html.jinja2 +++ b/funnel/templates/profile_layout.html.jinja2 @@ -421,7 +421,9 @@ {% endif %}

{{ profile.title }}

-

@{{ profile.name }}

+ {%- if profile.name %} +

@{{ profile.name }}

+ {% endif %}
@@ -442,7 +444,9 @@

{{ profile.title }}

-

@{{ profile.name }}

+ {%- if profile.name %} +

@{{ profile.name }}

+ {%- endif %}
    {%- if profile.joined_at %}