{% macro information(current_user, userActiveSemester, role) %} User: {{ current_user.repr() }} | Active semester: {{ userActiveSemester(flashWarning=True).repr() }} {% if (role == "admin") and (current_user.has_role("assistant")) %} | Assistant space. {% elif (role == "assistant") and (current_user.has_role("admin")) %} | Admin space. {% endif %} {% endmacro %} {% macro missing_final_experiment_marks(number_of_missing_final_experiment_marks, number_of_all_experiment_marks) %}
Number of missing final experiment marks: {{ number_of_missing_final_experiment_marks }} / {{ number_of_all_experiment_marks }}
{% endmacro %}