|
|
@ -120,18 +120,11 @@ export class AlarmTableConfig extends EntityTableConfig<AlarmInfo, TimePageLink> |
|
|
color: alarmSeverityColors.get(entity.severity) |
|
|
color: alarmSeverityColors.get(entity.severity) |
|
|
}))); |
|
|
}))); |
|
|
this.columns.push( |
|
|
this.columns.push( |
|
|
new EntityTableColumn<AlarmInfo>('assignee', 'alarm.assignee', '200px', |
|
|
new EntityTableColumn<AlarmInfo>('assignee', 'alarm.assignee', '240px', |
|
|
(entity) => { |
|
|
(entity) => { |
|
|
return this.getAssigneeTemplate(entity) |
|
|
return this.getAssigneeTemplate(entity) |
|
|
}, |
|
|
}, |
|
|
(entity) => { |
|
|
() => ({}), |
|
|
return { |
|
|
|
|
|
display: 'flex', |
|
|
|
|
|
justifyContent: 'start', |
|
|
|
|
|
alignItems: 'center', |
|
|
|
|
|
height: 'inherit' |
|
|
|
|
|
} |
|
|
|
|
|
}, |
|
|
|
|
|
false, |
|
|
false, |
|
|
() => ({}), |
|
|
() => ({}), |
|
|
(entity) => undefined, |
|
|
(entity) => undefined, |
|
|
@ -203,8 +196,10 @@ export class AlarmTableConfig extends EntityTableConfig<AlarmInfo, TimePageLink> |
|
|
<span class="user-display-name">${this.getUserDisplayName(entity)}</span> |
|
|
<span class="user-display-name">${this.getUserDisplayName(entity)}</span> |
|
|
</span>` |
|
|
</span>` |
|
|
: |
|
|
: |
|
|
`<mat-icon class="material-icons unassigned-icon">account_circle</mat-icon>
|
|
|
`<span class="unassigned-container">
|
|
|
<span>${this.translate.instant('alarm.unassigned')}</span>` |
|
|
<mat-icon class="material-icons unassigned-icon">account_circle</mat-icon> |
|
|
|
|
|
<span>${this.translate.instant('alarm.unassigned')}</span> |
|
|
|
|
|
</span>` |
|
|
} |
|
|
} |
|
|
</span>` |
|
|
</span>` |
|
|
} |
|
|
} |
|
|
|