|
|
@if (this.PermissionsService.hasPermissionObservable(['packages', 'view_linux'])|async) {
{{ package.name }}
} @else {
{{ package.name }}
}
|
{{ package.description }}
|
@if (this.PermissionsService.hasPermissionObservable(['patchstatus', 'index'])|async) {
{{ package.all_hosts.length }}
} @else {
{{ package.all_hosts.length }}
}
|
@if (package.hosts_needs_update.length > 0) {
@if (this.PermissionsService.hasPermissionObservable(['patchstatus', 'index'])|async) {
{{ package.hosts_needs_update.length }}
{{ t('Update Available') }}
} @else {
{{ package.hosts_needs_update.length }}
{{ t('Update Available') }}
}
}
@if (package.hosts_needs_security_update.length > 0) {
@if (this.PermissionsService.hasPermissionObservable(['patchstatus', 'index'])|async) {
{{ package.hosts_needs_security_update.length }}
{{ t('Security Update Available') }}
} @else {
{{ package.hosts_needs_security_update.length }}
{{ t('Security Update Available') }}
}
}
|
}