Courses

{% if arguments.field_semester_value matches '/^[0-9]{4}[WS]$/' %} {% set year=arguments.field_semester_value|slice(0, 4) %} {% set term=arguments.field_semester_value|slice(4, 1) %} {% if term == 'W' %} Sommersemester {{ year }} - Wintersemester {{ year }} - Sommersemester {{ year + 1 }} {% else %} Wintersemester {{ year - 1 }}/{{ year }} - Sommersemester {{ year }} - Wintersemester {{ year }}/{{ year + 1 }} {% endif %} {% endif %}