From af059141f0d3a597571e3ec8f04b70a37c7be818 Mon Sep 17 00:00:00 2001 From: Jannat Patel Date: Tue, 13 Sep 2022 17:48:54 +0530 Subject: [PATCH] fix: profile ux --- lms/www/profiles/profile.html | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/lms/www/profiles/profile.html b/lms/www/profiles/profile.html index 1a121516..4b636ae8 100644 --- a/lms/www/profiles/profile.html +++ b/lms/www/profiles/profile.html @@ -39,11 +39,13 @@ {% endif %} + {% if has_course_moderator_role() %} + {% endif %} @@ -192,14 +194,18 @@ {% macro About(member) %} -{% if member.bio %}
{{ _("About") }}
-
{{ member.bio }}
+
+ {% if member.bio %} + {{ member.bio }} + {% else %} + {{ _("Hey, my name is ") }} {{ member.full_name }} + {% endif %} +
-{% endif %} {% endmacro %}