2022-02-16 15:52:59 +01:00
|
|
|
|
2022-04-07 15:35:48 +01:00
|
|
|
<ion-tabs class="tab" >
|
2022-04-08 12:31:23 +01:00
|
|
|
|
2022-10-12 17:01:09 +01:00
|
|
|
<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">
|
2022-03-28 13:34:01 +01:00
|
|
|
|
2022-10-12 17:01:09 +01:00
|
|
|
<ion-tab-button *ngIf="SessionStore.user.OwnerCalendars.length >= 1 || p.userPermission([permissionList.Gabinete.access])" (click)="goto('/home/events')" tab="events" [class.active]="pathname === '/home/events'">
|
2022-03-28 13:34:01 +01:00
|
|
|
<!-- <ion-icon name="home"></ion-icon> -->
|
|
|
|
|
<ion-icon *ngIf="pathname != '/home/events'" class="nav-icon" src="assets/images/icons-nav-home.svg"></ion-icon>
|
|
|
|
|
<ion-icon *ngIf="pathname == '/home/events'" class="nav-icon" src="assets/images/nav-hover/icons-nav-home-active.svg"></ion-icon>
|
|
|
|
|
<ion-label>Início</ion-label>
|
|
|
|
|
</ion-tab-button>
|
|
|
|
|
|
2022-04-14 14:57:04 +01:00
|
|
|
<ion-tab-button *ngIf="p.userPermission([permissionList.Agenda.access])" (click)="goto('/home/agenda')" tab="agenda" [class.active]="pathname === '/home/agenda' ">
|
2022-03-28 13:34:01 +01:00
|
|
|
<!-- <ion-icon name="calendar"></ion-icon> -->
|
|
|
|
|
<ion-icon *ngIf="pathname != '/home/agenda'" class="nav-icon" src="assets/images/icons-nav-calendar.svg"></ion-icon>
|
|
|
|
|
<ion-icon *ngIf="pathname == '/home/agenda'" class="nav-icon" src="assets/images/nav-hover/icons-nav-agenda-active.svg"></ion-icon>
|
|
|
|
|
<ion-label style="margin-bottom: 2px;" class="overflow-visible">Agenda</ion-label>
|
|
|
|
|
</ion-tab-button>
|
|
|
|
|
|
2022-03-30 15:08:23 +01:00
|
|
|
<ion-tab-button *ngIf="p.userPermission([permissionList.Gabinete.access])" (click)="goto('/home/gabinete-digital')" [class.active]="pathname === '/home/gabinete-digital' ">
|
2022-03-28 13:34:01 +01:00
|
|
|
<!-- <ion-icon name="file-tray-stacked"></ion-icon> -->
|
|
|
|
|
<ion-icon *ngIf="pathname != '/home/gabinete-digital'" class="nav-icon" src="assets/images/icons-nav-gabinete-inactive.svg"></ion-icon>
|
|
|
|
|
<ion-icon *ngIf="pathname == '/home/gabinete-digital'" class="nav-icon" src="assets/images/nav-hover/icons-nav-gabinete-active.svg"></ion-icon>
|
|
|
|
|
<ion-label>Gabinete</ion-label>
|
|
|
|
|
</ion-tab-button>
|
2022-03-28 15:46:07 +01:00
|
|
|
|
2022-03-30 15:08:23 +01:00
|
|
|
<ion-tab-button *ngIf="p.userPermission([permissionList.Actions.access])" tab="publications" [class.active]="pathname === '/home/publications' ">
|
2022-03-28 13:34:01 +01:00
|
|
|
<ion-icon *ngIf="pathname != '/home/publications'" class="nav-icon" src="assets/images/icons-nav-actions.svg"></ion-icon>
|
|
|
|
|
<ion-icon *ngIf="pathname == '/home/publications'" class="nav-icon" src="assets/images/nav-hover/icons-nav-actions-active.svg"></ion-icon>
|
2023-01-24 15:56:47 +01:00
|
|
|
<ion-label style="margin-bottom: 2px;" class="overflow-visible">Acções</ion-label>
|
2022-03-28 13:34:01 +01:00
|
|
|
</ion-tab-button>
|
|
|
|
|
|
2022-03-30 15:08:23 +01:00
|
|
|
<ion-tab-button *ngIf="p.userPermission([permissionList.Chat.access])" tab="chat" [class.active]="pathname === '/home/chat' ">
|
2022-03-28 13:34:01 +01:00
|
|
|
<ion-icon *ngIf="pathname != '/home/chat'" class="nav-icon" src="assets/images/icons-nav-chat-inactive.svg"></ion-icon>
|
|
|
|
|
<ion-icon *ngIf="pathname == '/home/chat'" class="nav-icon" src="assets/images/nav-hover/icons-nav-chat-active.svg"></ion-icon>
|
|
|
|
|
<ion-label>Chat</ion-label>
|
|
|
|
|
</ion-tab-button>
|
2022-01-04 15:34:03 +01:00
|
|
|
|
2021-03-24 11:01:51 +01:00
|
|
|
</ion-tab-bar>
|
2022-04-08 12:31:23 +01:00
|
|
|
|
2021-03-25 16:04:07 +01:00
|
|
|
</ion-tabs>
|
2022-04-08 12:31:23 +01:00
|
|
|
|
2021-07-22 10:21:51 +01:00
|
|
|
<link href="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0/css/bootstrap.min.css" rel="stylesheet">
|