2023-07-26 16:48:27 +01:00
< ion-header class = " bg-blue ion-no-border header-fix" >
2021-07-28 16:27:10 +01:00
< div class = "profile-header width-100" >
2022-03-09 10:06:25 +01:00
< div class = "div-logo d-md-none width-40" >
2022-10-05 16:16:31 +01:00
< div class = "logo-icon" * ngIf = "hideImage" >
2023-01-24 15:56:47 +01:00
< img * ngIf = "ThemeService.currentTheme == 'default' " src = 'assets/images/logo-no-bg.png' alt = 'logo' >
2022-03-09 10:06:25 +01:00
< img * ngIf = "ThemeService.currentTheme == 'gov' " src = 'assets/images/theme/gov/governoangola_A.png' alt = 'logo' >
2023-07-26 16:48:27 +01:00
< img * ngIf = "ThemeService.currentTheme == 'doneIt' "
src = 'assets/images/theme/{{ThemeService.currentTheme}}/governoangola_A.png' alt = 'logo' >
2022-03-09 10:06:25 +01:00
< / div >
2023-07-26 16:48:27 +01:00
< div * ngIf = "ThemeService.currentTheme == 'gov'"
class = "logo-description d-flex align-center justify-content-center" >
2022-03-09 10:06:25 +01:00
< div class = "logo-description-content" >
2023-01-25 15:49:16 +01:00
< p class = "logo-description-text tp-5" > {{ environment.logoLabel }}< / p >
2022-07-06 09:59:22 +01:00
< div class = "add-line" > < / div >
2022-12-22 17:20:05 +01:00
< p class = "logo-description-text tp-5" > GABINETE DIGITAL< / p >
2022-03-09 10:06:25 +01:00
< / div >
< / div >
2023-07-26 16:48:27 +01:00
< div * ngIf = "ThemeService.currentTheme == 'default'"
class = "logo-description d-flex align-center justify-content-center" >
2022-03-09 10:06:25 +01:00
< div class = "logo-description-content" >
2023-01-25 15:49:16 +01:00
< p class = "logo-description-text tp-5 color-white" > {{ environment.logoLabel }}< / p >
2022-07-06 09:59:22 +01:00
< div class = "add-line-white" > < / div >
2022-12-22 17:20:05 +01:00
< p class = "logo-description-text tp-5 color-white" > GABINETE DIGITAL< / p >
2022-03-09 10:06:25 +01:00
< / div >
2021-07-28 09:34:11 +01:00
< / div >
< / div >
2023-08-11 16:38:23 +01:00
< div class = "btn-close d-flex cursor-pointer pr-20" * ngIf = "hideImage" ( click ) = " close ( ) " >
2023-07-26 16:48:27 +01:00
< ion-icon * ngIf = "ThemeService.currentTheme == 'default' " class = "icon"
src = "assets/images/icons-search-close.svg" > < / ion-icon >
< ion-icon * ngIf = "ThemeService.currentTheme == 'gov' " class = "icon"
src = "assets/images/theme/gov/icons-search-close.svg" > < / ion-icon >
< ion-icon * ngIf = "ThemeService.currentTheme == 'doneIt' " class = "icon"
src = "assets/images/theme/{{ThemeService.currentTheme}}/icons-search-close.svg" > < / ion-icon >
2021-07-28 09:34:11 +01:00
< / div >
2021-07-28 16:27:10 +01:00
< / div >
2021-08-26 13:48:29 +01:00
< / ion-header >
< ion-header class = " bg-blue ion-no-border" >
2021-07-28 16:27:10 +01:00
< div class = "profile-content" >
2022-03-09 10:06:25 +01:00
2023-08-23 13:34:03 +01:00
< div class = "d-flex align-center" >
2023-08-29 16:05:32 +01:00
< div * ngIf = "profilePicture == ''" class = "profile-pic" >
< ion-icon * ngIf = "SessionStore.user.RoleDescription != 'Presidente da República' && SessionStore.user.RoleDescription != 'Ministro e Director do Gabinete do PR' && SessionStore.user.RoleDescription != 'Secretário Geral' " class = "profile-pic"
2023-08-23 13:34:03 +01:00
src = "assets/images/theme/gov/icons-profile.svg" > < / ion-icon >
< img * ngIf = "SessionStore.user.RoleDescription == 'Presidente da República' " class = "profile-pic"
src = 'assets/images/presidente.png' >
< img * ngIf = "SessionStore.user.RoleDescription == 'Ministro e Director do Gabinete do PR' " class = "profile-pic"
src = 'assets/images/ministro.png' >
< img * ngIf = "SessionStore.user.RoleDescription == 'Secretário Geral' " class = "profile-pic"
src = 'assets/images/secretaria_geral.png' >
2023-08-29 16:05:32 +01:00
< / div >
< div * ngIf = "profilePicture != ''" class = "profile-pic" >
< img class = "profile-pic"
src = {{profilePicture}} >
< / div >
2023-08-23 13:34:03 +01:00
<!-- <ion - icon *ngIf="ThemeService.currentTheme == 'default' " class="profile - pic"
src="assets/images/icons - default - profile.svg"></ion - icon>
<ion - icon *ngIf="ThemeService.currentTheme == 'gov' " class="profile - pic"
src="assets/images/theme/gov/icons - profile.svg"></ion - icon>
<ion - icon *ngIf="ThemeService.currentTheme == 'doneIt' " class="profile - pic"
src="assets/images/theme/{{ThemeService.currentTheme}}/icons - profile.svg"></ion - icon> -->
< / div >
2022-12-14 17:32:28 +01:00
< div class = "profile-name d-flex justify-content-center width-100" >
2023-07-26 16:48:27 +01:00
< ion-label > {{SessionStore.user.FullName}}< / ion-label >
2022-12-14 17:32:28 +01:00
< / div >
2021-07-28 16:27:10 +01:00
< div class = "profile-title d-flex justify-content-center width-100" >
2023-07-26 16:48:27 +01:00
< ion-label * ngIf = "SessionStore.user.RoleDescription" > {{SessionStore.user.RoleDescription}}< / ion-label >
2021-07-28 09:34:11 +01:00
< / div >
2021-07-28 16:27:10 +01:00
< div class = "d-flex mt-10 width-100" >
2023-07-26 16:48:27 +01:00
< ion-buttons slot = "start" class = "buttonSize" >
< button ( click ) = " logout ( ) " class = "btn-delete" fill = "clear" >
2021-07-28 09:34:11 +01:00
< ion-label style = "color:#d30a0a;" > Terminar sessão< / ion-label >
2021-07-28 16:27:10 +01:00
< / button >
2023-07-26 16:48:27 +01:00
< button ( click ) = " editProfile ( ) " class = "btn-cancel" fill = "clear" color = "#fff" >
2021-07-28 16:27:10 +01:00
< ion-label > Editar Perfil< / ion-label >
< / button >
2021-07-28 09:34:11 +01:00
< / ion-buttons >
< / div >
2021-07-28 16:27:10 +01:00
< div class = "line" > < / div >
2023-08-21 17:52:04 +01:00
< ion-progress-bar type = "indeterminate" * ngIf = "isloading" > < / ion-progress-bar >
2023-08-31 16:37:11 +01:00
<!-- <ion - label (click)="asyncNotification()" *ngIf="NotificationHolderService.notificationList">{{notificationStatus}}</ion - label> -->
2021-08-26 13:48:29 +01:00
< / div >
< / ion-header >
2021-07-28 09:29:14 +01:00
2021-08-26 13:48:29 +01:00
< ion-content class = " bg-blue" >
2021-09-02 14:29:58 +01:00
< div class = "d-flex flex-column height-100 overflow-y-auto" >
2021-07-28 09:34:11 +01:00
2021-09-02 14:29:58 +01:00
< div class = "notifications-content height-100" >
2022-03-09 10:06:25 +01:00
2021-08-26 13:48:29 +01:00
< ion-list >
< div class = "item cursor-pointer ion-no-padding ion-no-margin" lines = "none"
2023-08-31 16:37:11 +01:00
* ngFor = "let item of NotificationHolderService.notificationList; let i = index" >
2023-07-31 16:39:35 +01:00
< div * ngIf = "item.read == false" class = "item-conten-{{item.Service}}-{{item.TypeAgenda}}-{{item.Role}}" ( click ) = " notificatinsRoutes ( item . index , item . Service , item . Object , item . IdObject , item . FolderId , i ) " >
2023-07-26 16:48:27 +01:00
< div class = "notification-item" >
2023-07-31 16:39:35 +01:00
< img class = "notification-icon" slot = "end" * ngIf = "item.Service == 'agenda'" src = "assets/images/icons-default-agenda.svg" >
< img class = "notification-icon" slot = "end" * ngIf = "item.Service == 'gabinete-digital'" src = "assets/images/icons-correspondencias.svg" >
< img class = "notification-icon" slot = "end" * ngIf = "item.Service == 'accoes'" src = "assets/images/icons-nav-accoes-active.svg" >
< img class = "notification-icon" slot = "end" * ngIf = "item.Service == 'chat'" src = "assets/images/icons-nav-agenda-active.svg" >
2023-07-26 16:48:27 +01:00
< / div >
< div class = "approve-event-time" >
2023-07-31 16:39:35 +01:00
< p * ngIf = "item.Service == 'agenda'" > {{item.dateInit}}< / p >
< p * ngIf = "item.Service == 'agenda'" > {{item.dateEnd}}< / p >
2023-07-26 16:48:27 +01:00
< / div >
< div class = "approve-event-detail" >
< h3 id = "profile-title" > {{item.title}}< / h3 >
2023-08-21 17:52:04 +01:00
< p * ngIf = "item.Service == 'agenda'" > {{item.Location}}< / p >
2023-07-31 16:39:35 +01:00
< p id = "profile-title" * ngIf = "item.Service != 'agenda'" > {{item.body}}< / p >
< / div >
< / div >
< div * ngIf = "item.read == true" >
< div class = "notification-item" >
< img class = "notification-icon-error" slot = "end" src = "assets/images/exclamation_mark.svg" >
2021-08-26 13:48:29 +01:00
< / div >
2023-07-31 16:58:36 +01:00
2023-07-31 16:39:35 +01:00
< div class = "approve-event-detail-error" >
< p id = "profile-title-error" > Possivelmente esta tarefa não foi criada ou já foi executada. Deseja dar a notificação como lida?< / p >
< / div >
< div class = "d-flex mt-10 width-100" >
< ion-buttons slot = "start" class = "buttonSize" >
< button ( click ) = " doNotKeppNotification ( item . index ) " class = "btn-delete" fill = "clear" >
< ion-label style = "color:#d30a0a;" > Sim< / ion-label >
< / button >
< button ( click ) = " keppNotification ( i ) " class = "btn-cancel" fill = "clear" color = "#fff" >
< ion-label > Não< / ion-label >
< / button >
< / ion-buttons >
< / div >
2021-08-26 13:48:29 +01:00
< / div >
2023-07-26 16:48:27 +01:00
< / div >
2021-08-26 13:48:29 +01:00
< / ion-list >
2022-03-09 10:06:25 +01:00
2021-08-26 13:48:29 +01:00
< / div >
2022-03-09 10:06:25 +01:00
2021-07-28 09:34:11 +01:00
< / div >
2023-07-26 16:48:27 +01:00
< / ion-content >