diff options
author | Sarah Abouzainah <sabouzainah.ext@orange.com> | 2020-12-15 02:15:46 +0200 |
---|---|---|
committer | Sarah Abouzainah <sabouzainah.ext@orange.com> | 2020-12-15 02:16:39 +0200 |
commit | 981573b5b00cdb47cd9f2bbd002735ccc0c362fc (patch) | |
tree | 1ccf87524a1d63fd93dd1c49ca25c6e07195971f /cds-ui/designer-client/src/app/modules/feature-modules/packages/packages-dashboard/import-package | |
parent | 9de0f8373c2adeded063050071f47bc6a89eff22 (diff) |
Add CDS version and apply minor css style changes
Issue-ID: CCSDK-2292
Signed-off-by: Sarah Abouzainah <sabouzainah.ext@orange.com>
Change-Id: Ie06a5d6fa3e0e52aad50ef5ce501b324f39ab2b1
Diffstat (limited to 'cds-ui/designer-client/src/app/modules/feature-modules/packages/packages-dashboard/import-package')
2 files changed, 6 insertions, 6 deletions
diff --git a/cds-ui/designer-client/src/app/modules/feature-modules/packages/packages-dashboard/import-package/import-package.component.html b/cds-ui/designer-client/src/app/modules/feature-modules/packages/packages-dashboard/import-package/import-package.component.html index 0632fb47d..2d5591106 100644 --- a/cds-ui/designer-client/src/app/modules/feature-modules/packages/packages-dashboard/import-package/import-package.component.html +++ b/cds-ui/designer-client/src/app/modules/feature-modules/packages/packages-dashboard/import-package/import-package.component.html @@ -46,11 +46,11 @@ </button> <button type="button" class="btn btn-sm btn-primary" [disabled]="uploadedFiles?.length<=0" data-dismiss="modal" (click)="importAndSave()"> - Import&Save + Import & Save </button> <button type="button" class="btn btn-sm btn-primary" [disabled]="uploadedFiles?.length<=0" data-dismiss="modal" (click)="importAndDeploy()"> - Import&Deploy + Import & Deploy </button> <button type="button" class="btn btn-sm btn-primary" [disabled]="uploadedFiles?.length<=0" data-dismiss="modal" (click)="importPackageAndViewIt()"> diff --git a/cds-ui/designer-client/src/app/modules/feature-modules/packages/packages-dashboard/import-package/import-package.component.ts b/cds-ui/designer-client/src/app/modules/feature-modules/packages/packages-dashboard/import-package/import-package.component.ts index 5797d18d5..c6c75eb9c 100644 --- a/cds-ui/designer-client/src/app/modules/feature-modules/packages/packages-dashboard/import-package/import-package.component.ts +++ b/cds-ui/designer-client/src/app/modules/feature-modules/packages/packages-dashboard/import-package/import-package.component.ts @@ -115,11 +115,11 @@ export class ImportPackageComponent implements OnInit { this.zipFile.generateAsync({type: 'blob'}).then(blob => { this.packageCreationService.savePackage(blob).subscribe( bluePrintDetailModels => { - this.toastService.info('package is imported and saved successfully '); + this.toastService.info('Package is imported and saved successfully '); this.router.navigate(['/packages']); this.packagesStore.getAll(); }, error => - this.toastService.error('there is an error happened ' + error)); + this.toastService.error('Errot occured ' + error)); }); }); } @@ -134,11 +134,11 @@ export class ImportPackageComponent implements OnInit { this.zipFile.generateAsync({type: 'blob'}).then(blob => { this.packageCreationService.deploy(blob).subscribe( bluePrintDetailModels => { - this.toastService.info('package is imported and deployed successfully '); + this.toastService.info('Package is imported and deployed successfully '); this.router.navigate(['/packages']); this.packagesStore.getAll(); }, error => - this.toastService.error('there is an error happened ' + error)); + this.toastService.error('Errot occured ' + error)); }); }); } |