This commit is contained in:
tiago.kayaya
2021-07-29 16:21:48 +01:00
parent b1d0f19237
commit 52ebda8b80
3 changed files with 11 additions and 14 deletions
@@ -94,6 +94,7 @@ export class ViewEventPage implements OnInit {
loadEvent() { loadEvent() {
this.eventsService.getEvent(this.eventId).subscribe(res => { this.eventsService.getEvent(this.eventId).subscribe(res => {
console.log(res);
this.loadedEvent = res; this.loadedEvent = res;
this.today = new Date(res.StartDate); this.today = new Date(res.StartDate);
this.customDate = this.days[this.today.getDay()]+ ", " + this.today.getDate() +" de " + ( this.months[this.today.getMonth()]); this.customDate = this.days[this.today.getDay()]+ ", " + this.today.getDate() +" de " + ( this.months[this.today.getMonth()]);
+3 -7
View File
@@ -10,13 +10,9 @@
<div class="div-logo height-fit-content"> <div class="div-logo height-fit-content">
<img src='assets/images/logo-no-bg.png' alt='logo'> <img src='assets/images/logo-no-bg.png' alt='logo'>
</div> </div>
<div class="div-profile"> <div class="div-profile" (click)="openProfile()">
<button class="btn-no-color" (click)="openProfile()"> <ion-icon class="icon" src='assets/images/icons-profile.svg'></ion-icon>
<ion-icon class="font-45" *ngIf="loggeduser.Profile == 'MDGPR'" src='assets/images/icons-profile.svg'></ion-icon> <ion-label class="profile-text">{{loggeduser.Profile}}</ion-label>
</button>
<button class="btn-no-color" (click)="openProfile()">
<ion-icon class="font-45" *ngIf="loggeduser.Profile == 'PR' " src='assets/images/icons-profile-pr-header.svg'></ion-icon>
</button>
</div> </div>
</div> </div>
@@ -9,9 +9,9 @@
<img src='assets/images/logo-no-bg.png' alt='logo'> <img src='assets/images/logo-no-bg.png' alt='logo'>
</div> </div>
<div class="div-profile" (click)="openProfile()"> <div class="div-profile cursor-pointer" (click)="openProfile()">
<ion-icon class="font-45" *ngIf="loggeduser.Profile == 'MDGPR'" src='assets/images/icons-profile.svg'></ion-icon> <ion-icon class="icon" src='assets/images/icons-profile.svg'></ion-icon>
<ion-icon class="font-45" *ngIf="loggeduser.Profile == 'PR' " src='assets/images/icons-profile-pr-header.svg'></ion-icon> <ion-label class="profile-text">{{loggeduser.Profile}}</ion-label>
</div> </div>
</div> </div>