diff --git a/src/main/webapp/app/entities/plantilla/plantilla-delete-store-dialog/plantilla-delete-store-dialog.component.html b/src/main/webapp/app/entities/plantilla/plantilla-delete-store-dialog/plantilla-delete-store-dialog.component.html new file mode 100644 index 0000000..c63b3d2 --- /dev/null +++ b/src/main/webapp/app/entities/plantilla/plantilla-delete-store-dialog/plantilla-delete-store-dialog.component.html @@ -0,0 +1,24 @@ +
diff --git a/src/main/webapp/app/entities/plantilla/plantilla-delete-store-dialog/plantilla-delete-store-dialog.component.ts b/src/main/webapp/app/entities/plantilla/plantilla-delete-store-dialog/plantilla-delete-store-dialog.component.ts new file mode 100644 index 0000000..d748b4b --- /dev/null +++ b/src/main/webapp/app/entities/plantilla/plantilla-delete-store-dialog/plantilla-delete-store-dialog.component.ts @@ -0,0 +1,17 @@ +import { Component } from '@angular/core'; +import { NgbActiveModal } from '@ng-bootstrap/ng-bootstrap'; + +@Component({ + templateUrl: './plantilla-delete-store-dialog.component.html', +}) +export class PlantillaDeleteStoreDialogComponent { + constructor(protected activeModal: NgbActiveModal) {} + + cancel(): void { + this.activeModal.dismiss(); + } + + confirmDeleteFromStore(): void { + this.activeModal.close('confirm'); + } +} diff --git a/src/main/webapp/app/entities/plantilla/plantilla-publish-store-dialog/plantilla-publish-store-dialog.component.html b/src/main/webapp/app/entities/plantilla/plantilla-publish-store-dialog/plantilla-publish-store-dialog.component.html new file mode 100644 index 0000000..2a7685d --- /dev/null +++ b/src/main/webapp/app/entities/plantilla/plantilla-publish-store-dialog/plantilla-publish-store-dialog.component.html @@ -0,0 +1,24 @@ + diff --git a/src/main/webapp/app/entities/plantilla/plantilla-publish-store-dialog/plantilla-publish-store-dialog.component.ts b/src/main/webapp/app/entities/plantilla/plantilla-publish-store-dialog/plantilla-publish-store-dialog.component.ts new file mode 100644 index 0000000..070568f --- /dev/null +++ b/src/main/webapp/app/entities/plantilla/plantilla-publish-store-dialog/plantilla-publish-store-dialog.component.ts @@ -0,0 +1,20 @@ +import { Component } from '@angular/core'; +import { NgbActiveModal } from '@ng-bootstrap/ng-bootstrap'; +import { faStore } from '@fortawesome/free-solid-svg-icons'; + +@Component({ + templateUrl: './plantilla-publish-store-dialog.component.html', +}) +export class PlantillaPublishStoreDialogComponent { + faStore = faStore; + + constructor(protected activeModal: NgbActiveModal) {} + + cancel(): void { + this.activeModal.dismiss(); + } + + confirmPublishToStore(): void { + this.activeModal.close('confirm'); + } +} diff --git a/src/main/webapp/app/entities/plantilla/plantilla.module.ts b/src/main/webapp/app/entities/plantilla/plantilla.module.ts index f4d2e54..602dba7 100644 --- a/src/main/webapp/app/entities/plantilla/plantilla.module.ts +++ b/src/main/webapp/app/entities/plantilla/plantilla.module.ts @@ -8,6 +8,8 @@ import { PlantillaRoutingModule } from './route/plantilla-routing.module'; import { FontAwesomeModule } from '@fortawesome/angular-fontawesome'; import { PlantillaDeleteQuestionDialogComponent } from './plantilla-delete-question-dialog/plantilla-delete-question-dialog.component'; import { PlantillaDeleteOptionDialogComponent } from './plantilla-delete-option-dialog/plantilla-delete-option-dialog.component'; +import { PlantillaPublishStoreDialogComponent } from './plantilla-publish-store-dialog/plantilla-publish-store-dialog.component'; +import { PlantillaDeleteStoreDialogComponent } from './plantilla-delete-store-dialog/plantilla-delete-store-dialog.component'; @NgModule({ imports: [SharedModule, PlantillaRoutingModule, FontAwesomeModule], @@ -18,6 +20,8 @@ import { PlantillaDeleteOptionDialogComponent } from './plantilla-delete-option- PlantillaDeleteDialogComponent, PlantillaDeleteQuestionDialogComponent, PlantillaDeleteOptionDialogComponent, + PlantillaPublishStoreDialogComponent, + PlantillaDeleteStoreDialogComponent, ], entryComponents: [PlantillaDeleteDialogComponent], }) diff --git a/src/main/webapp/app/entities/plantilla/update/plantilla-update.component.html b/src/main/webapp/app/entities/plantilla/update/plantilla-update.component.html index 117d224..8f4999e 100644 --- a/src/main/webapp/app/entities/plantilla/update/plantilla-update.component.html +++ b/src/main/webapp/app/entities/plantilla/update/plantilla-update.component.html @@ -26,6 +26,26 @@ >