{% import '@ChamiloTheme/Macros/box.html.twig' as display %} {% autoescape false %} {% if title %}

{{ title }}

{% endif %} {% if details != true %}
{% set user_content %}

{{ user.complete_name_link }}

{{ display.reporting_user_details(user) }}
{{ display.card_widget('FirstLoginInPlatform'|get_lang, user.first_connection, 'calendar') }} {{ display.card_widget('LatestLoginInPlatform'|get_lang, user.last_connection, 'calendar') }} {% if user.legal %} {{ display.card_widget('LegalAccepted'|get_lang, user.legal.datetime, 'gavel', user.legal.icon) }} {% endif %}
{% endset %} {{ display.panel('', user_content) }}
{% else %}
{{ display.panel('', display.reporting_user_box(user), '') }}
{{ user.student_progress }}%
{{ 'ScormAndLPProgressTotalAverage'|get_lang }}
{{ user.student_score }}
{{ 'ScormAndLPTestTotalAverage'|get_lang }}
{{ user.tools.links }}
{{ 'LinksDetails'|get_lang }}
{{ user.tools.documents }}
{{ 'DocumentsDetails'|get_lang }}
{{ user.tools.tasks }}
{{ 'Student_publication'|get_lang }}
{{ user.tools.messages }}
{{ 'NumberOfPostsForThisUser'|get_lang }}
{{ user.tools.upload_documents }}
{{ 'UploadedDocuments'|get_lang }}
{% if user.tools.chat_connection != '' %} {{ user.tools.chat_connection }} {% else %} {{ 'NotRegistered'|get_lang }} {% endif %}
{{ 'ChatLastConnection'|get_lang }}
{{ display.card_widget('FirstLoginInPlatform'|get_lang, user.first_connection, 'calendar') }} {{ display.card_widget('LatestLoginInPlatform'|get_lang, user.last_connection, 'calendar') }} {% if(user.time_spent_course) %} {{ display.card_widget('TimeSpentInTheCourse'|get_lang, user.time_spent_course, 'clock-o') }} {% endif %} {% if user.legal %} {{ display.card_widget('LegalAccepted'|get_lang, user.legal.datetime, 'gavel', user.legal.icon) }} {% endif %}
{% endif %} {% endautoescape %}