Commit 2d76cc9c authored by Andrii Chyrskyi's avatar Andrii Chyrskyi
Browse files

Issue #3220368 by Ressinel: Fix when can't see preferred language in user profile.

parent e5225fa4
......@@ -90,6 +90,13 @@
</div>
{% endif %}
{% if user_lang %}
<div class="list-item card--content-merged__list">
<div class="list-item__label">{% trans %}Language{% endtrans %}</div>
<div class="list-item__text">{{ user_lang }}</a></div>
</div>
{% endif %}
{% if content.field_profile_address|render %}
<div class="list-item card--content-merged__list">
<div class="list-item__label">{% trans %}Address{% endtrans %}</div>
......@@ -183,9 +190,9 @@
{{ content|without('field_profile_phone_number', 'user_mail', 'field_profile_address',
'field_profile_self_introduction', 'field_profile_interests', 'field_profile_expertise',
'field_profile_profile_tag', 'field_manager_notes', 'social_tagging') }}
'field_profile_profile_tag', 'field_manager_notes', 'social_tagging', 'user_lang') }}
{% if (content|render is empty and user_mail is empty)%}
{% if (content|render is empty and user_mail is empty and user_lang is empty)%}
{% trans %}{{ profile_name }} {{ profile_name_extra }} has not shared profile information.{% endtrans %}
{% endif %}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment