Факультет @for (faculty of faculties; track $index) { {{ faculty.name }} } @if (faculties === null) { } Курс @for (course of courseNumbers; track $index) { {{ course }} } @if (courseNumbers === null) { } Группа @if (filteredGroupsSpecialist && filteredGroupsSpecialist.length > 0) {
Специалитет:
@for (group of filteredGroupsSpecialist; track $index) { {{ group.name }} }
} @if (filteredGroupsSpecialist && filteredGroupsSpecialist.length > 0 && (filteredGroupsBehaviour && filteredGroupsBehaviour.length > 0 || filteredGroupsMagistracy && filteredGroupsMagistracy.length > 0)) {

} @if (filteredGroupsBehaviour && filteredGroupsBehaviour.length > 0) {
Бакалавариат:
@for (group of filteredGroupsBehaviour; track $index) { {{ group.name }} }
} @if (((filteredGroupsSpecialist && filteredGroupsSpecialist.length > 0 && filteredGroupsBehaviour && filteredGroupsBehaviour.length > 0) || ((!filteredGroupsSpecialist || filteredGroupsSpecialist.length === 0) && filteredGroupsBehaviour && filteredGroupsBehaviour.length > 0)) && filteredGroupsMagistracy && filteredGroupsMagistracy.length > 0) {

} @if (filteredGroupsMagistracy && filteredGroupsMagistracy.length > 0) {
Магистратура:
@for (group of filteredGroupsMagistracy; track $index) { {{ group.name }} }
} @if (faculties === null) { }