{% if student_info %} {% if not student_info.progress is null or not student_info.score is null or not student_info.certificate is null %} {% set num_columns = (student_info.progress is null ? 0 : 1) + (student_info.score is null ? 0 : 1) + (student_info.certificate is null ? 0 : 1) %}

{% if not student_info.progress is null %}
{{ 'CourseAdvance'|get_lang }}
{{ 'XPercentCompleted'|get_lang|format(student_info.progress) }}
{% endif %} {% if not student_info.score is null %}
{{ "StudentCourseScoreX" | get_lang | format(student_info.score) }}
{% endif %} {% if not student_info.certificate is null %}
{{ "StudentCourseCertificateX" | get_lang | format(student_info.certificate) }}
{% endif %}
{% endif %} {% endif %}