{% macro information(current_user, active_semester_str, role) %}
User:
{{ current_user }}
| Active semester: {{ active_semester_str() }}
{% if (role == "admin") and (current_user.has_role("assistant")) %}
|
Assistant space.
{% elif (role == "assistant") and (current_user.has_role("admin")) %}
|
Admin space.
{% endif %}
{% endmacro %}