Fixe ageanda timeline centalizer and header profile

This commit is contained in:
Peter Maquiran
2021-05-12 11:34:28 +01:00
parent 3df73c063a
commit 695bd3a6df
7 changed files with 60 additions and 35 deletions
@@ -8,6 +8,10 @@
</div>
<div class="div-profile">
<ion-icon src='assets/images/icons-profile-pr.svg'></ion-icon>
<ion-icon class="font-45" *ngIf="loggeduser.Profile == 'MDGPR'" 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>
</div>
</div>
</ion-toolbar>
+9 -1
View File
@@ -1,4 +1,6 @@
import { Component, OnInit } from '@angular/core';
import { User } from 'src/app/models/user.model';
import { AuthService } from 'src/app/services/auth.service';
@Component({
selector: 'app-header-pr',
@@ -7,9 +9,15 @@ import { Component, OnInit } from '@angular/core';
})
export class HeaderPrPage implements OnInit {
constructor() { }
loggeduser: User;
constructor(authService: AuthService) {
this.loggeduser = authService.ValidatedUser;
}
ngOnInit() {
}
locationPathname(): string {