|
@if (this.PermissionsService.hasPermissionObservable(['hosts', 'browser'])|async) {
{{ host.host.name }}
} @else {
{{ host.host.name }}
}
|
|
{{ host.os_version }} |
0">
@switch (host.os_type) {
@case (PatchstatusOsTypeEnum.linux) {
@if (host.linux_update_ids.length > 0 && ( this.PermissionsService.hasPermissionObservable(['packages', 'linux'])|async )) {
{{ host.available_updates }}
} @else {
{{ host.available_updates }}
}
}
@case (PatchstatusOsTypeEnum.macos) {
@if (host.macos_update_ids.length > 0 && ( this.PermissionsService.hasPermissionObservable(['packages', 'macos_updates'])|async )) {
{{ host.available_updates }}
} @else {
{{ host.available_updates }}
}
}
@case (PatchstatusOsTypeEnum.windows) {
@if (host.windows_update_ids.length > 0 && ( this.PermissionsService.hasPermissionObservable(['packages', 'windows_updates'])|async )) {
{{ host.available_updates }}
} @else {
{{ host.available_updates }}
}
}
}
|
0">
@switch (host.os_type) {
@case (PatchstatusOsTypeEnum.linux) {
@if (host.linux_security_update_ids.length > 0 && ( this.PermissionsService.hasPermissionObservable(['packages', 'linux'])|async )) {
{{ host.available_security_updates }}
} @else {
{{ host.available_security_updates }}
}
}
@case (PatchstatusOsTypeEnum.macos) {
@if (host.macos_update_ids.length > 0 && ( this.PermissionsService.hasPermissionObservable(['packages', 'macos_updates'])|async )) {
{{ host.available_updates }}
} @else {
{{ host.available_updates }}
}
}
@case (PatchstatusOsTypeEnum.windows) {
@if (host.windows_security_update_ids.length > 0 && ( this.PermissionsService.hasPermissionObservable(['packages', 'windows_updates'])|async )) {
{{ host.available_security_updates }}
} @else {
{{ host.available_security_updates }}
}
}
}
|
@if (host.reboot_required) {
{{ t('Reboot required') }}
} @else {
{{ t('No') }}
}
|
{{ host.uptime_in_words }}
|
{{ host.agent_version }}
|
{{ host.last_update_user }}
|
{{ host.last_error }}
|
}