fix search

This commit is contained in:
Peter Maquiran
2023-01-25 15:49:16 +01:00
parent 891c44d674
commit 9fea5d8488
9 changed files with 49 additions and 39 deletions
@@ -10,7 +10,7 @@
<div *ngIf="ThemeService.currentTheme == 'gov'" class="logo-description d-flex align-center justify-content-center">
<div class="logo-description-content">
<!-- <p class="logo-description-text">Calendário Partilhado</p> -->
<p class="logo-description-text tp-5">doneIT</p>
<p class="logo-description-text tp-5">{{ environment.logoLabel }}</p>
<div class="add-line"></div>
<p class="logo-description-text tp-5">GABINETE DIGITAL</p>
</div>
@@ -18,7 +18,7 @@
<div *ngIf="ThemeService.currentTheme == 'default'" class="logo-description d-flex align-center justify-content-center">
<div class="logo-description-content">
<!-- <p class="logo-description-text color-white">Calendário Partilhado</p> -->
<p class="logo-description-text tp-5 color-white">doneIT</p>
<p class="logo-description-text tp-5 color-white">{{ environment.logoLabel }}</p>
<div class="add-line-white"></div>
<p class="logo-description-text tp-5 color-white">GABINETE DIGITAL</p>
</div>
@@ -27,7 +27,7 @@
<div *ngIf="ThemeService.currentTheme == 'doneIt'" class="logo-description d-flex align-center justify-content-center">
<div class="logo-description-content">
<!-- <p class="logo-description-text color-white">Calendário Partilhado</p> -->
<p class="logo-description-text tp-5 color-white" style="color: transparent;">DoneIt</p>
<p class="logo-description-text tp-5 color-white" style="color: transparent;">{{ environment.logoLabel }}</p>
<div class="add-line-white"></div>
</div>
</div>
@@ -16,6 +16,7 @@ export class EditProfilePage implements OnInit {
SessionStore = SessionStore
production = environment.production
environment = environment
constructor(private modalController:ModalController,
private animationController: AnimationController,
+4 -5
View File
@@ -8,15 +8,14 @@
</div>
<div *ngIf="ThemeService.currentTheme == 'gov'" class="logo-description d-flex align-center justify-content-center">
<div class="logo-description-content">
<p class="logo-description-text tp-5">doneIT</p>
<p class="logo-description-text tp-5">{{ environment.logoLabel }}</p>
<div class="add-line"></div>
<p class="logo-description-text tp-5">GABINETE DIGITAL</p>
</div>
</div>
<div *ngIf="ThemeService.currentTheme == 'default'" class="logo-description d-flex align-center justify-content-center">
<div class="logo-description-content">
<!-- <p class="logo-description-text color-white">Calendário Partilhado</p> -->
<p class="logo-description-text tp-5 color-white">doneIT</p>
<p class="logo-description-text tp-5 color-white">{{ environment.logoLabel }}</p>
<div class="add-line-white"></div>
<p class="logo-description-text tp-5 color-white">GABINETE DIGITAL</p>
</div>
@@ -33,10 +32,10 @@
<div class="profile-content">
<div class="profile-name d-flex justify-content-center width-100">
<ion-label >{{loggeduser.FullName}}</ion-label>
<ion-label >{{SessionStore.user.FullName}}</ion-label>
</div>
<div class="profile-title d-flex justify-content-center width-100">
<ion-label *ngIf="loggeduser.RoleDescription" >{{loggeduser.RoleDescription}}</ion-label>
<ion-label *ngIf="SessionStore.user.RoleDescription" >{{SessionStore.user.RoleDescription}}</ion-label>
</div>
<div class="d-flex mt-10 width-100">
+6 -6
View File
@@ -18,7 +18,6 @@ import { environment } from 'src/environments/environment';
})
export class ProfilePage implements OnInit {
loggeduser: LoginUserRespose;
userLoginPreference = ''
notificationdata: any[] = [];
DataArray: Array<Object> = [];
@@ -34,26 +33,27 @@ export class ProfilePage implements OnInit {
hideImage = false
logoutOut = false
notificationStatus = '';
environment = environment
constructor(private modalController: ModalController,
private authService: AuthService,
SessionStore = SessionStore;
constructor(
private modalController: ModalController,
private animationController: AnimationController,
private router: Router,
private storageservice: StorageService,
private zone: NgZone,
private notificationservice: NotificationsService,
private platform: Platform,
private eventtrigger: EventTrigger,
public ThemeService: ThemeService,
) {
this.loggeduser = SessionStore.user;
router.events.subscribe((val) => {
this.isProfileOpen = false
this.logoutOut = true
});
setTimeout(()=>{
setTimeout(() => {
this.hideImage = true
}, 2000)
}