+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/main/webapp/app/entities/encuesta/update/encuesta-update.component.ts b/src/main/webapp/app/entities/encuesta/update/encuesta-update.component.ts
index b079f9b..46f1618 100644
--- a/src/main/webapp/app/entities/encuesta/update/encuesta-update.component.ts
+++ b/src/main/webapp/app/entities/encuesta/update/encuesta-update.component.ts
@@ -1,23 +1,23 @@
-import { IEPreguntaAbierta } from './../../e-pregunta-abierta/e-pregunta-abierta.model';
+import { EPreguntaAbierta, IEPreguntaAbierta } from './../../e-pregunta-abierta/e-pregunta-abierta.model';
import { EPreguntaCerrada } from './../../e-pregunta-cerrada/e-pregunta-cerrada.model';
-import { EPreguntaCerradaOpcion, IEPreguntaCerradaOpcion } from './../../e-pregunta-cerrada-opcion/e-pregunta-cerrada-opcion.model';
+import { IEPreguntaCerradaOpcion } from './../../e-pregunta-cerrada-opcion/e-pregunta-cerrada-opcion.model';
import { EPreguntaAbiertaService } from './../../e-pregunta-abierta/service/e-pregunta-abierta.service';
import { EPreguntaCerradaOpcionService } from './../../e-pregunta-cerrada-opcion/service/e-pregunta-cerrada-opcion.service';
import { AfterViewChecked, Component, OnInit } from '@angular/core';
import { HttpResponse } from '@angular/common/http';
import { FormBuilder, Validators } from '@angular/forms';
-import { ActivatedRoute } from '@angular/router';
+import { ActivatedRoute, Router } from '@angular/router';
import { Observable } from 'rxjs';
-import { finalize, map } from 'rxjs/operators';
+import { finalize } from 'rxjs/operators';
import * as dayjs from 'dayjs';
import { DATE_TIME_FORMAT } from 'app/config/input.constants';
-import { IEncuesta, Encuesta } from '../encuesta.model';
+import { Encuesta } from '../encuesta.model';
import { EncuestaService } from '../service/encuesta.service';
import { ICategoria } from 'app/entities/categoria/categoria.model';
import { CategoriaService } from 'app/entities/categoria/service/categoria.service';
-import { IUsuarioExtra } from 'app/entities/usuario-extra/usuario-extra.model';
+import { IUsuarioExtra, UsuarioExtra } from 'app/entities/usuario-extra/usuario-extra.model';
import { UsuarioExtraService } from 'app/entities/usuario-extra/service/usuario-extra.service';
import { NgbModal } from '@ng-bootstrap/ng-bootstrap';
@@ -25,14 +25,26 @@ import { IEPreguntaCerrada } from 'app/entities/e-pregunta-cerrada/e-pregunta-ce
import { EPreguntaCerradaService } from 'app/entities/e-pregunta-cerrada/service/e-pregunta-cerrada.service';
import { EPreguntaCerradaDeleteDialogComponent } from 'app/entities/e-pregunta-cerrada/delete/e-pregunta-cerrada-delete-dialog.component';
-import { faTimes, faPlus, faQuestion, faPollH, faEye } from '@fortawesome/free-solid-svg-icons';
+import { faEye, faPlus, faPollH, faQuestion, faTimes } from '@fortawesome/free-solid-svg-icons';
import { PreguntaCerradaTipo } from 'app/entities/enumerations/pregunta-cerrada-tipo.model';
import { EncuestaDeleteQuestionDialogComponent } from '../encuesta-delete-question-dialog/encuesta-delete-question-dialog.component';
import { EncuestaDeleteOptionDialogComponent } from '../encuesta-delete-option-dialog/encuesta-delete-option-dialog.component';
import { ParametroAplicacionService } from './../../parametro-aplicacion/service/parametro-aplicacion.service';
import { IParametroAplicacion } from './../../parametro-aplicacion/parametro-aplicacion.model';
-import { Router } from '@angular/router';
+
+import { UsuarioEncuestaService } from 'app/entities/usuario-encuesta/service/usuario-encuesta.service';
+import { IUsuarioEncuesta, UsuarioEncuesta } from '../../usuario-encuesta/usuario-encuesta.model';
+import { RolColaborador } from '../../enumerations/rol-colaborador.model';
+import { Account } from '../../../core/auth/account.model';
+import { AccountService } from 'app/core/auth/account.service';
+import { EncuestaFinalizarDialogComponent } from '../encuesta-finalizar-dialog/encuesta-finalizar-dialog.component';
+import { EncuestaDeleteColaboratorDialogComponent } from '../encuesta-delete-colaborator-dialog/encuesta-delete-colaborator-dialog.component';
+import { IUser } from '../../user/user.model';
+
+import * as $ from 'jquery';
+import { UserService } from '../../user/user.service';
+import { EstadoColaborador } from '../../enumerations/estado-colaborador.model';
@Component({
selector: 'jhi-encuesta-update',
@@ -47,9 +59,17 @@ export class EncuestaUpdateComponent implements OnInit, AfterViewChecked {
isSaving = false;
isSavingQuestion = false;
-
+ isSavingCollab = false;
+ isSavingAddCollab = false;
+ finalizada = false;
+ public rolSeleccionado: RolColaborador | undefined = undefined;
categoriasSharedCollection: ICategoria[] = [];
usuarioExtrasSharedCollection: IUsuarioExtra[] = [];
+ usuariosColaboradores: IUsuarioEncuesta[] = [];
+ colaborador: IUsuarioEncuesta | null = null;
+
+ account: Account | null = null;
+ usuarioExtra: UsuarioExtra | null = null;
// editForm = this.fb.group({
// id: [],
@@ -83,6 +103,15 @@ export class EncuestaUpdateComponent implements OnInit, AfterViewChecked {
tipopregunta: ['CLOSED'],
});
+ editFormUpdateCollab = this.fb.group({
+ rol: [null, [Validators.required]],
+ });
+
+ editFormAddCollab = this.fb.group({
+ email_add: [null, [Validators.required, Validators.email]],
+ rol_add: [null, [Validators.required]],
+ });
+
ePreguntas?: any[];
ePreguntasOpciones?: any[];
encuesta: Encuesta | null = null;
@@ -94,6 +123,11 @@ export class EncuestaUpdateComponent implements OnInit, AfterViewChecked {
createAnotherQuestion: Boolean = false;
selectedQuestionToCreateOption: IEPreguntaCerrada | null = null;
+ userPublicCollab: IUser | null = null;
+ usuarioExtraCollab: UsuarioExtra | null = null;
+ userCollabNotExist: boolean = false;
+ userCollabIsCollab: boolean = false;
+ userCollabIsAutor: boolean = false;
constructor(
protected encuestaService: EncuestaService,
protected categoriaService: CategoriaService,
@@ -105,7 +139,10 @@ export class EncuestaUpdateComponent implements OnInit, AfterViewChecked {
protected ePreguntaCerradaOpcionService: EPreguntaCerradaOpcionService,
protected parametroAplicacionService: ParametroAplicacionService,
protected ePreguntaAbiertaService: EPreguntaAbiertaService,
- protected router: Router
+ protected usuarioEncuestaService: UsuarioEncuestaService,
+ protected router: Router,
+ protected accountService: AccountService,
+ protected userService: UserService
) {}
loadAll(): void {
@@ -115,7 +152,6 @@ export class EncuestaUpdateComponent implements OnInit, AfterViewChecked {
(res: any) => {
this.isLoading = false;
this.ePreguntas = res.body ?? [];
- console.log(this.ePreguntas);
},
() => {
this.isLoading = false;
@@ -131,12 +167,21 @@ export class EncuestaUpdateComponent implements OnInit, AfterViewChecked {
this.isLoading = false;
}
);
+
+ this.usuarioEncuestaService.findCollaborators(this.encuesta?.id!).subscribe(
+ (res: any) => {
+ this.isLoading = false;
+ this.usuariosColaboradores = res.body ?? [];
+ },
+ () => {
+ this.isLoading = false;
+ }
+ );
}
async loadAplicationParameters(): Promise
{
const params = await this.parametroAplicacionService.find(1).toPromise();
this.parametrosAplicacion = params.body;
- //console.log(this.parametrosAplicacion);
}
ngOnInit(): void {
@@ -157,10 +202,19 @@ export class EncuestaUpdateComponent implements OnInit, AfterViewChecked {
// this.loadRelationshipsOptions();
});
+
+ // Get jhi_user and usuario_extra information
+ this.accountService.getAuthenticationState().subscribe(account => {
+ if (account !== null) {
+ this.usuarioExtraService.find(account.id).subscribe(usuarioExtra => {
+ this.usuarioExtra = usuarioExtra.body;
+ });
+ }
+ });
}
ngAfterViewChecked(): void {
- this.initListeners();
+ // this.initListeners();
}
trackId(index: number, item: IEPreguntaCerrada): number {
@@ -178,18 +232,18 @@ export class EncuestaUpdateComponent implements OnInit, AfterViewChecked {
});
}
- initListeners(): void {
- const checkboxes = document.getElementsByClassName('ds-survey--checkbox');
- for (let i = 0; i < checkboxes.length; i++) {
- checkboxes[i].addEventListener('click', e => {
- if ((e.target as HTMLInputElement).checked) {
- (e.target as HTMLElement).offsetParent!.classList.add('ds-survey--closed-option--active');
- } else {
- (e.target as HTMLElement).offsetParent!.classList.remove('ds-survey--closed-option--active');
- }
- });
- }
- }
+ // initListeners(): void {
+ // const checkboxes = document.getElementsByClassName('ds-survey--checkbox');
+ // for (let i = 0; i < checkboxes.length; i++) {
+ // checkboxes[i].addEventListener('click', e => {
+ // if ((e.target as HTMLInputElement).checked) {
+ // (e.target as HTMLElement).offsetParent!.classList.add('ds-survey--closed-option--active');
+ // } else {
+ // (e.target as HTMLElement).offsetParent!.classList.remove('ds-survey--closed-option--active');
+ // }
+ // });
+ // }
+ // }
previousState(): void {
window.history.back();
@@ -332,7 +386,6 @@ export class EncuestaUpdateComponent implements OnInit, AfterViewChecked {
createQuestion(): void {
const surveyId = this.encuesta?.id;
- console.log(surveyId);
}
protected createFromFormClosedQuestion(): IEPreguntaCerrada {
@@ -416,6 +469,57 @@ export class EncuestaUpdateComponent implements OnInit, AfterViewChecked {
this.isSavingQuestion = false;
}
+ updateSurveyName(event: any) {
+ const updatedSurveyName = event.target.innerText;
+ if (updatedSurveyName !== this.encuesta?.nombre) {
+ const survey = { ...this.encuesta };
+ survey.nombre = updatedSurveyName;
+ // Prevent user update by setting to null
+ survey.usuarioExtra!.user = null;
+
+ this.encuestaService.updateSurvey(survey).subscribe(res => {});
+ }
+ }
+
+ updateQuestionName(event: any): void {
+ const questionType = event.target.dataset.tipo;
+ const questionId = event.target.dataset.id;
+ const questionName = event.target.innerText;
+ if (questionType) {
+ // Closed question
+ this.ePreguntaCerradaService.find(questionId).subscribe(res => {
+ const ePreguntaCerrada: EPreguntaCerrada | null = res.body ?? null;
+ const updatedEPreguntaCerrada = { ...ePreguntaCerrada };
+ if (questionName !== ePreguntaCerrada?.nombre && ePreguntaCerrada !== null) {
+ updatedEPreguntaCerrada.nombre = questionName;
+ this.ePreguntaCerradaService.update(updatedEPreguntaCerrada).subscribe(updatedQuestion => {
+ console.log(updatedQuestion);
+ });
+ }
+ });
+ } else {
+ // Open question
+ // Closed question
+ this.ePreguntaAbiertaService.find(questionId).subscribe(res => {
+ const ePreguntaAbierta: EPreguntaAbierta | null = res.body ?? null;
+ const updatedEPreguntaAbierta = { ...ePreguntaAbierta };
+ if (questionName !== ePreguntaAbierta?.nombre && ePreguntaAbierta !== null) {
+ updatedEPreguntaAbierta.nombre = questionName;
+ this.ePreguntaAbiertaService.update(updatedEPreguntaAbierta).subscribe(updatedQuestion => {
+ console.log(updatedQuestion);
+ });
+ }
+ });
+ }
+ // const questionId = event.target.dataset.id;
+ // const survey = { ...this.encuesta };
+ // survey.nombre = updatedQuestionName;
+ // // Prevent user update by setting to null
+ // survey.usuarioExtra!.user = null;
+
+ // this.encuestaService.updateSurvey(survey).subscribe(res => {});
+ }
+
// previousState(): void {
// window.history.back();
// }
@@ -532,4 +636,187 @@ export class EncuestaUpdateComponent implements OnInit, AfterViewChecked {
// usuarioExtra: this.editForm.get(['usuarioExtra'])!.value,
// };
// }
+
+ /* methods for colaborators*/
+ protected createFromFormCollab(): UsuarioEncuesta {
+ return {
+ id: undefined,
+ rol: this.editFormAddCollab.get(['rol_add'])!.value,
+ };
+ }
+
+ selectColaborator(c: IUsuarioEncuesta) {
+ this.colaborador = c;
+ this.rolSeleccionado = c.rol;
+ }
+
+ saveCollab(): void {
+ this.isSavingCollab = true;
+ const collab = this.colaborador;
+ if (collab !== null) {
+ collab.rol = this.editFormUpdateCollab.get('rol')!.value;
+ collab.fechaAgregado = dayjs(this.colaborador?.fechaAgregado, DATE_TIME_FORMAT);
+ /*this.usuarioEncuestaService.update(collab).subscribe(
+ res => {},
+ (error) => {console.log(error)}
+ );*/
+
+ this.subscribeToSaveResponseUpdateCollab(this.usuarioEncuestaService.update(collab));
+ }
+ }
+
+ resetFormAddCollab(): void {
+ this.editFormAddCollab.reset();
+ this.userPublicCollab = null;
+ }
+
+ saveAddCollab(): void {
+ this.isSavingAddCollab = true;
+ this.userCollabIsAutor = false;
+ this.userCollabIsCollab = false;
+ this.userCollabNotExist = false;
+
+ const collab = this.createFromFormCollab();
+ let rol = this.editFormAddCollab.get('rol_add')!.value;
+ if (rol === 'READ') {
+ collab.rol = RolColaborador.READ;
+ } else if (rol === 'WRITE') {
+ collab.rol = RolColaborador.WRITE;
+ }
+ let correoCollab = this.editFormAddCollab.get('email_add')!.value;
+
+ this.userService
+ .retrieveAllPublicUsers()
+ .pipe(
+ finalize(() => {
+ if (this.userPublicCollab?.id !== undefined) {
+ if (correoCollab === this.usuarioExtra?.user?.login) {
+ this.userCollabIsAutor = true;
+ this.isSavingAddCollab = false;
+ } else if (this.validarUserIsCollab(correoCollab)) {
+ this.userCollabIsCollab = true;
+ this.isSavingAddCollab = false;
+ } else {
+ this.usuarioExtraService.find(this.userPublicCollab?.id).subscribe(res => {
+ this.usuarioExtraCollab = res.body;
+ let now = new Date();
+ collab.fechaAgregado = dayjs(now);
+ collab.usuarioExtra = this.usuarioExtraCollab;
+ collab.estado = EstadoColaborador.PENDING;
+ collab.encuesta = this.encuesta;
+ let id = 0;
+ this.subscribeToSaveResponseAddCollab(this.usuarioEncuestaService.create(collab));
+ });
+ }
+ } else {
+ this.userCollabNotExist = true;
+ this.isSavingAddCollab = false;
+ }
+ this.resetFormAddCollab();
+ })
+ )
+ .subscribe(res => {
+ res.forEach(user => {
+ if (user.login === correoCollab) {
+ this.userPublicCollab = user;
+ }
+ if (user.id === this.usuarioExtra?.id) {
+ // @ts-ignore
+ this.usuarioExtra?.user?.login = user.login;
+ }
+ });
+ });
+ }
+
+ protected subscribeToSaveResponseUpdateCollab(result: Observable>): void {
+ result.pipe(finalize(() => this.onSaveFinalizeUpdateCollab())).subscribe(
+ () => this.onSaveSuccessUpdateCollab(),
+ () => this.onSaveErrorUpdateCollab()
+ );
+ }
+
+ protected onSaveSuccessUpdateCollab(): void {
+ this.loadAll();
+ $('#btnCancelUbdateColaboradores').click();
+ }
+
+ protected onSaveErrorUpdateCollab(): void {
+ // Api for inheritance.
+ }
+
+ protected onSaveFinalizeUpdateCollab(): void {
+ this.isSavingCollab = false;
+ }
+
+ protected subscribeToSaveResponseAddCollab(result: Observable>): void {
+ result.pipe(finalize(() => this.onSaveFinalizeAddCollab())).subscribe(
+ () => this.onSaveSuccessAddCollab(),
+ () => this.onSaveErrorAddCollab()
+ );
+ }
+
+ protected onSaveSuccessAddCollab(): void {
+ this.loadAll();
+ $('#btnCancelAddColaboradores').click();
+ }
+
+ protected onSaveErrorAddCollab(): void {
+ // Api for inheritance.
+ }
+
+ protected onSaveFinalizeAddCollab(): void {
+ this.isSavingAddCollab = false;
+ }
+ deleteCollab(collab: IUsuarioEncuesta) {
+ //$('#btnCancelUbdateColaboradores').click();
+ //setTimeout(() => {
+ const modalRef = this.modalService.open(EncuestaDeleteColaboratorDialogComponent, { size: 'lg', backdrop: 'static' });
+ modalRef.componentInstance.colaborador = collab;
+ // unsubscribe not needed because closed completes on modal close
+ modalRef.closed.subscribe(reason => {
+ if (reason === 'deleted') {
+ $('#btnCancelUbdateColaboradores').click();
+ this.loadAll();
+ }
+ });
+ //}, 500);
+ }
+
+ isAutor() {
+ return this.usuarioExtra?.id === this.encuesta?.usuarioExtra?.id;
+ }
+
+ isEscritor() {
+ let escritor = false;
+ this.usuariosColaboradores.forEach(c => {
+ if (this.usuarioExtra?.id === c.usuarioExtra?.id) {
+ if (c.rol === 'WRITE') {
+ escritor = true;
+ }
+ }
+ });
+ return escritor;
+ }
+
+ validarUserIsCollab(correoCollab: string) {
+ let isCollab = false;
+ this.usuariosColaboradores.forEach(c => {
+ if (c.usuarioExtra?.id === this.userPublicCollab?.id) {
+ isCollab = true;
+ }
+ });
+ return isCollab;
+ }
+
+ finalizar(): void {
+ const modalRef = this.modalService.open(EncuestaFinalizarDialogComponent, { size: 'lg', backdrop: 'static' });
+ modalRef.componentInstance.encuesta = this.encuesta;
+ // unsubscribe not needed because closed completes on modal close
+ modalRef.closed.subscribe(reason => {
+ if (reason === 'finalized') {
+ this.finalizada = true;
+ this.loadAll();
+ }
+ });
+ }
}
diff --git a/src/main/webapp/app/entities/entity-routing.module.ts b/src/main/webapp/app/entities/entity-routing.module.ts
index eb24fc4..47e08ea 100644
--- a/src/main/webapp/app/entities/entity-routing.module.ts
+++ b/src/main/webapp/app/entities/entity-routing.module.ts
@@ -42,7 +42,7 @@ import { RouterModule } from '@angular/router';
import('./e-pregunta-cerrada-opcion/e-pregunta-cerrada-opcion.module').then(m => m.EPreguntaCerradaOpcionModule),
},
{
- path: 'usuario-encuesta',
+ path: 'colaboraciones',
data: { pageTitle: 'dataSurveyApp.usuarioEncuesta.home.title' },
loadChildren: () => import('./usuario-encuesta/usuario-encuesta.module').then(m => m.UsuarioEncuestaModule),
},
@@ -77,6 +77,21 @@ import { RouterModule } from '@angular/router';
loadChildren: () =>
import('./p-pregunta-cerrada-opcion/p-pregunta-cerrada-opcion.module').then(m => m.PPreguntaCerradaOpcionModule),
},
+ {
+ path: 'mis-plantillas',
+ data: { pageTitle: 'dataSurveyApp.usuarioExtra.plantillas.title' },
+ loadChildren: () => import('./usuario-plantillas/usuario-plantillas.module').then(m => m.UsuarioPlantillasModule),
+ },
+ {
+ path: 'dashboard',
+ data: { pageTitle: 'dataSurveyApp.Dashboard.title' },
+ loadChildren: () => import('./dashboard/dashboard.module').then(m => m.DashboardModule),
+ },
+ {
+ path: 'dashboard',
+ data: { pageTitle: 'dataSurveyApp.Dashboard.title' },
+ loadChildren: () => import('./dashboard/dashboard.module').then(m => m.DashboardModule),
+ },
/* jhipster-needle-add-entity-route - JHipster will add entity modules routes here */
]),
],
diff --git a/src/main/webapp/app/entities/factura/route/factura-routing-resolve.service.spec.ts b/src/main/webapp/app/entities/factura/route/factura-routing-resolve.service.tmpSpec.ts
similarity index 100%
rename from src/main/webapp/app/entities/factura/route/factura-routing-resolve.service.spec.ts
rename to src/main/webapp/app/entities/factura/route/factura-routing-resolve.service.tmpSpec.ts
diff --git a/src/main/webapp/app/entities/p-pregunta-abierta/route/p-pregunta-abierta-routing-resolve.service.spec.ts b/src/main/webapp/app/entities/p-pregunta-abierta/route/p-pregunta-abierta-routing-resolve.service.tmpSpec.ts
similarity index 100%
rename from src/main/webapp/app/entities/p-pregunta-abierta/route/p-pregunta-abierta-routing-resolve.service.spec.ts
rename to src/main/webapp/app/entities/p-pregunta-abierta/route/p-pregunta-abierta-routing-resolve.service.tmpSpec.ts
diff --git a/src/main/webapp/app/entities/p-pregunta-cerrada-opcion/route/p-pregunta-cerrada-opcion-routing-resolve.service.spec.ts b/src/main/webapp/app/entities/p-pregunta-cerrada-opcion/route/p-pregunta-cerrada-opcion-routing-resolve.service.tmpSpec.ts
similarity index 100%
rename from src/main/webapp/app/entities/p-pregunta-cerrada-opcion/route/p-pregunta-cerrada-opcion-routing-resolve.service.spec.ts
rename to src/main/webapp/app/entities/p-pregunta-cerrada-opcion/route/p-pregunta-cerrada-opcion-routing-resolve.service.tmpSpec.ts
diff --git a/src/main/webapp/app/entities/p-pregunta-cerrada-opcion/service/p-pregunta-cerrada-opcion.service.ts b/src/main/webapp/app/entities/p-pregunta-cerrada-opcion/service/p-pregunta-cerrada-opcion.service.ts
index 0edd78f..6b5593b 100644
--- a/src/main/webapp/app/entities/p-pregunta-cerrada-opcion/service/p-pregunta-cerrada-opcion.service.ts
+++ b/src/main/webapp/app/entities/p-pregunta-cerrada-opcion/service/p-pregunta-cerrada-opcion.service.ts
@@ -16,8 +16,8 @@ export class PPreguntaCerradaOpcionService {
constructor(protected http: HttpClient, protected applicationConfigService: ApplicationConfigService) {}
- create(pPreguntaCerradaOpcion: IPPreguntaCerradaOpcion): Observable {
- return this.http.post(this.resourceUrl, pPreguntaCerradaOpcion, { observe: 'response' });
+ create(pPreguntaCerradaOpcion: IPPreguntaCerradaOpcion, preguntaId?: number): Observable {
+ return this.http.post(`${this.resourceUrl}/${preguntaId}`, pPreguntaCerradaOpcion, { observe: 'response' });
}
update(pPreguntaCerradaOpcion: IPPreguntaCerradaOpcion): Observable {
@@ -49,6 +49,10 @@ export class PPreguntaCerradaOpcionService {
return this.http.delete(`${this.resourceUrl}/${id}`, { observe: 'response' });
}
+ deleteMany(ids: number[]): Observable {
+ return this.http.post(`${this.resourceUrl}/deleteMany`, ids, { observe: 'response' });
+ }
+
addPPreguntaCerradaOpcionToCollectionIfMissing(
pPreguntaCerradaOpcionCollection: IPPreguntaCerradaOpcion[],
...pPreguntaCerradaOpcionsToCheck: (IPPreguntaCerradaOpcion | null | undefined)[]
diff --git a/src/main/webapp/app/entities/p-pregunta-cerrada/route/p-pregunta-cerrada-routing-resolve.service.spec.ts b/src/main/webapp/app/entities/p-pregunta-cerrada/route/p-pregunta-cerrada-routing-resolve.service.tmpSpec.ts
similarity index 100%
rename from src/main/webapp/app/entities/p-pregunta-cerrada/route/p-pregunta-cerrada-routing-resolve.service.spec.ts
rename to src/main/webapp/app/entities/p-pregunta-cerrada/route/p-pregunta-cerrada-routing-resolve.service.tmpSpec.ts
diff --git a/src/main/webapp/app/entities/parametro-aplicacion/route/parametro-aplicacion-routing-resolve.service.spec.ts b/src/main/webapp/app/entities/parametro-aplicacion/route/parametro-aplicacion-routing-resolve.service.tmpSpec.ts
similarity index 100%
rename from src/main/webapp/app/entities/parametro-aplicacion/route/parametro-aplicacion-routing-resolve.service.spec.ts
rename to src/main/webapp/app/entities/parametro-aplicacion/route/parametro-aplicacion-routing-resolve.service.tmpSpec.ts
diff --git a/src/main/webapp/app/entities/plantilla/delete/plantilla-delete-dialog.component.html b/src/main/webapp/app/entities/plantilla/delete/plantilla-delete-dialog.component.html
index e43778d..4042602 100644
--- a/src/main/webapp/app/entities/plantilla/delete/plantilla-delete-dialog.component.html
+++ b/src/main/webapp/app/entities/plantilla/delete/plantilla-delete-dialog.component.html
@@ -1,24 +1,23 @@
-