fix: profile ux
This commit is contained in:
@@ -39,11 +39,13 @@
|
|||||||
</li>
|
</li>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
|
{% if has_course_moderator_role() %}
|
||||||
<li class="nav-item">
|
<li class="nav-item">
|
||||||
<a class="nav-link" data-toggle="tab" href="#settings">
|
<a class="nav-link" data-toggle="tab" href="#settings">
|
||||||
{{ _("Settings") }}
|
{{ _("Settings") }}
|
||||||
</a>
|
</a>
|
||||||
</li>
|
</li>
|
||||||
|
{% endif %}
|
||||||
|
|
||||||
</ul>
|
</ul>
|
||||||
|
|
||||||
@@ -192,14 +194,18 @@
|
|||||||
|
|
||||||
<!-- About Section -->
|
<!-- About Section -->
|
||||||
{% macro About(member) %}
|
{% macro About(member) %}
|
||||||
{% if member.bio %}
|
|
||||||
<div class="education-details">
|
<div class="education-details">
|
||||||
<div class="common-card-style column-card">
|
<div class="common-card-style column-card">
|
||||||
<div class="course-home-headings"> {{ _("About") }} </div>
|
<div class="course-home-headings"> {{ _("About") }} </div>
|
||||||
<div class="description">{{ member.bio }}</div>
|
<div class="description">
|
||||||
|
{% if member.bio %}
|
||||||
|
{{ member.bio }}
|
||||||
|
{% else %}
|
||||||
|
{{ _("Hey, my name is ") }} {{ member.full_name }}
|
||||||
|
{% endif %}
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
{% endif %}
|
|
||||||
{% endmacro %}
|
{% endmacro %}
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user