@for (section of resolved; track $index; let index = $index) { @switch (section.variant) { @case ('panel') {
@if (section.title) { @if (section.collapsible) { } @else {
} } @if (!collapsed.has(index)) {
}
} @case ('plain') {
@if (section.title) {
}
} @case ('meta') { } } } @if (section.icon) { } {{ section.title | translate }} @for (row of section.rows; track $index) { } @if (row.field.permission) { } @else { } @if (row.field.icon) { } {{ row.field.label | translate }}
@if (!row.field.hideLabel) {
@if (row.field.icon) { } {{ row.field.label | translate }}
}
@if (row.isEmpty) { {{ placeholder }} } @else { @switch (row.type) { @case ('tags') { } @case ('people') { } @case ('teams') { @for (team of row.teams; track team.name) { {{ team.name }} @if (team.count) { {{ team.count }} } } } @case ('person') { {{ row.person.name }} } @case ('status') { @if (row.value.icon) { } @else { } {{ row.value.text }} } @case ('badge') { } @case ('money') { } @case ('date') { {{ row.value | dateFormat }} } @case ('datetime') { {{ row.value | dateTimeFormat }} } @case ('boolean') { {{ (row.value ? 'BUTTONS.YES' : 'BUTTONS.NO') | translate }} } @case ('email') { {{ row.value }} } @case ('phone') { {{ row.value }} } @case ('link') { {{ row.value }} } @case ('html') {
} @case ('markdown') {
} @case ('multiline') {
{{ row.value }}
} @default { {{ row.value }} } } }
@if (person.imageUrl && !brokenImages.has(person.imageUrl)) { } @else { }