feat: grouped pair by group
All checks were successful
Build and Deploy Angular App / build (push) Successful in 49s

This commit is contained in:
2024-08-30 01:30:34 +03:00
parent 9d9302525b
commit 4bfd919bbc
2 changed files with 41 additions and 35 deletions

View File

@ -1,4 +1,5 @@
<section class="mat-elevation-z8 table-section" tabindex="0" [style.overflow]="(dataSource.length === 0 || isLoad ? 'hidden' : 'auto')">
<section class="mat-elevation-z8 table-section" tabindex="0"
[style.overflow]="(dataSource.length === 0 || isLoad ? 'hidden' : 'auto')">
@if (dataSource.length === 0 || isLoad) {
<div class="overlay">
@if (isLoad) {
@ -53,7 +54,7 @@
@if ($index !== 0) {
<br/>
}
<div class="mat-body">({{typeOfOccupation}})</div>
<div class="mat-body">({{ typeOfOccupation }})</div>
}
<!-- Professors -->
@ -97,14 +98,12 @@
}
<!-- Group -->
@if (!isOneGroup) {
<div class="mat-body">
<i>
<mat-icon fontIcon="group"/>
</i>
{{ elementData["group"] }}
</div>
}
<div class="mat-body">
<i>
<mat-icon fontIcon="group"/>
</i>
{{ elementData["group"] }}
</div>
@if ($index + 1 !== element.data[daysOfWeek.indexOf(day) + 1].length) {
<hr style="margin: 10px 0;"/>