remove duplicated header set background to event pages

This commit is contained in:
Peter Maquiran
2023-03-07 11:48:38 +01:00
parent 5fe1abcffa
commit 8ed49dc200
53 changed files with 39 additions and 166 deletions
+3 -2
View File
@@ -1,7 +1,7 @@
import { NgModule } from '@angular/core';
import { CommonModule } from '@angular/common';
import { FormsModule } from '@angular/forms';
import { HeaderPageModule } from 'src/app/shared/header/header.module';
import { IonicModule } from '@ionic/angular';
import { HomePageRoutingModule } from './home-routing.module';
@@ -15,7 +15,8 @@ import { HomePage } from './home.page';
FormsModule,
IonicModule,
HomePageRoutingModule,
LazyLoadImageModule
LazyLoadImageModule,
HeaderPageModule
],
declarations: [HomePage],
})
+6
View File
@@ -1,6 +1,12 @@
<ion-tabs class="tab" >
<ion-header class="ion-no-border ">
<app-header ></app-header>
</ion-header>
<ion-tab-bar *ngIf="p.userPermissionCount([permissionList.Agenda.access, permissionList.Gabinete.access, permissionList.Actions.access, permissionList.Chat.access]) >= 2 || (p.userPermission([permissionList.Agenda.access]) && SessionStore.user.OwnerCalendars.length != 0) || p.userPermission([permissionList.Gabinete.access])" class="bottoms" slot="bottom">
<ion-tab-button *ngIf="SessionStore.user.OwnerCalendars.length >= 1 || p.userPermission([permissionList.Gabinete.access])" (click)="goto('/home/events')" tab="events" [class.active]="ActiveTabService.pages.home">