2
2
< input type ="checkbox " name ="creados " #creados value ="1 " (change) ="mostrar(creados.value) " checked > < label for =""> Eventos creados</ label >
3
3
< input type ="checkbox " name ="apuntados " #apuntados value ="2 " (change) ="mostrar(apuntados.value) " checked > < label for =""> Eventos apuntados</ label >
4
4
</ div >
5
+ < div class ="separador "> </ div >
6
+ < h2 *ngIf ="mostrarCreados "> Eventos creados</ h2 >
5
7
< div class ="contenedor-eventos creados " *ngIf ="mostrarCreados && mostrarC ">
6
8
< div class ="evento " *ngFor ="let eventoCreado of eventosCreados ">
7
9
< div class ="imagen-evento " [ngStyle] ="{'background-image': 'url(' + 'http://localhost/proyecto/badajozUnida/php/eventos/imagenes/'+eventoCreado.imagen + ')'} "> </ div >
@@ -19,6 +21,7 @@ <h2>{{eventoCreado.titulo}}</h2>
19
21
</ div >
20
22
< p *ngIf ="!mostrarC && mostrarCreados "> No has creado ningún evento.</ p >
21
23
< hr *ngIf ="mostrarParticipo && mostrarCreados "/>
24
+ < h2 *ngIf ="mostrarParticipo "> Eventos apuntados</ h2 >
22
25
< div class ="contenedor-eventos apuntados " *ngIf ="mostrarParticipo && mostrarP ">
23
26
< div class ="evento " *ngFor ="let eventoParticipo of eventosParticipo ">
24
27
< div class ="imagen-evento " [ngStyle] ="{'background-image': 'url(' + 'http://localhost/proyecto/badajozUnida/php/eventos/imagenes/'+eventoParticipo.imagen + ')'} "> </ div >
@@ -31,7 +34,7 @@ <h2>{{eventoParticipo.titulo}}</h2>
31
34
< span > < strong > Nº asistentes: </ strong > {{eventoParticipo.numParticipantes}}</ span >
32
35
< span > < strong > {{eventoParticipo.nombreSubcategoria}}</ strong > </ span >
33
36
</ div >
34
- < button (click) ="preguntaBorrado(eventoParticipo.idEvento,eventoParticipo.imange,2) "> < i class ="bi bi-dash-circle-fill "> </ i > </ button >
37
+ < button (click) ="preguntaBorrado(eventoParticipo.idEvento,eventoParticipo.imange,2) "> Desapuntarme < i class ="bi bi-dash-circle-fill "> </ i > </ button >
35
38
</ div >
36
39
</ div >
37
40
< p *ngIf ="!mostrarP && mostrarParticipo "> No participas en ningún evento.</ p >
0 commit comments