@if (!package) { } @if (package) {
{{ t('Packages details:') }} {{ package.package.name }}
{{ package.package.name }}
{{ package.package.description }}
{{ t('Filter') }}
{{ t('Patch status') }}
@if (this.PermissionsService.hasPermissionObservable(['patchstatus', 'index'])|async) { } @for (host of package.all_host_packages; track $index) { @if (this.PermissionsService.hasPermissionObservable(['patchstatus', 'index'])|async) { } }
{{ t('Host name') }} {{ t('Patch status') }} {{ t('Installed version') }} {{ t('Available version') }} {{ t('Status') }}
@if (this.PermissionsService.hasPermissionObservable(['hosts', 'browser'])|async) { {{ host.host.name }} } @else { {{ host.host.name }} } {{ t('Host Patch status') }} {{ host.current_version }} @if (host.needs_update) { {{ host.available_version }} } @if (host.needs_update) { @if (host.is_security_update) { {{ t('Security Update Available') }} } @else { {{ t('Update Available') }} } } @else { {{ t('Up to Date') }} }
@if (package && package.all_host_packages.length === 0) { } @if (package && package.all_host_packages) { @if (package) { } }
}