Skip to content
Snippets Groups Projects
Commit 59316cda authored by paborte's avatar paborte
Browse files

Modificado el comportamiento del carousel de imagenes de los detalles de un...

Modificado el comportamiento del carousel de imagenes de los detalles de un producto. Añadidos los enlaces a las condiciones de registro y la politica de proteccion de datos
parent c846749d
No related branches found
No related tags found
No related merge requests found
......@@ -317,7 +317,11 @@
/>
<label class="form-check-label" for="flexCheckDefault">
Confirmo haber leído y aceptar la
<a href="">Politica de protección de datos</a>
<a
href="https://gleaming-terra-226017.web.app/condiciones"
target="_blank"
>Politica de protección de datos</a
>
</label>
</div>
<div class="form-check">
......@@ -332,7 +336,11 @@
/>
<label class="form-check-label" for="flexCheckChecked">
Confirmo haber leido y aceptar los
<a href="">Terminos y condiciones</a>
<a
href="https://gleaming-terra-226017.web.app/condiciones"
target="_blank"
>Terminos y condiciones</a
>
</label>
</div>
......
......@@ -2,6 +2,8 @@
<div class="row">
<div class="col-md-6 col-sm-12">
<ngb-carousel
[showNavigationArrows]="showNavigationArrows"
[showNavigationIndicators]="showNavigationIndicators"
*ngIf="producto.imagenesPaths"
class="carousel carousel-dark"
>
......
......@@ -16,6 +16,8 @@ export class ProductoComponent implements OnInit, OnDestroy {
images = [];
cantidadAIncluirEnCesta = 1;
private paramsSubscription;
showNavigationArrows = true;
showNavigationIndicators = true;
added = false;
constructor(
......@@ -35,6 +37,10 @@ export class ProductoComponent implements OnInit, OnDestroy {
this.producto.productoID = this.route.snapshot.params['productoID'];
}
this.images.push(this.getImage(producto.imagenIconoPath));
if (this.images.length == 1) {
this.showNavigationIndicators = false;
this.showNavigationArrows = false;
}
});
});
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment