2023-07-27 12:58:01 +01:00
|
|
|
<ion-header class="ion-no-border">
|
2021-02-24 09:14:58 +01:00
|
|
|
<ion-toolbar class="header-toolbar">
|
2021-04-29 15:25:14 +01:00
|
|
|
<div class="main-header px-20" style="overflow: unset !important;">
|
2023-07-27 12:58:01 +01:00
|
|
|
<div class="title-content d-flex">
|
2021-02-24 09:14:58 +01:00
|
|
|
<div class="left">
|
2021-04-08 16:48:06 +01:00
|
|
|
<button class="btn-no-color" (click)="close()">
|
2023-07-27 12:58:01 +01:00
|
|
|
<ion-icon *ngIf="ThemeService.currentTheme == 'default' " slot="end"
|
|
|
|
|
src='assets/images/icons-calendar-arrow-left.svg'></ion-icon>
|
|
|
|
|
<ion-icon *ngIf="ThemeService.currentTheme == 'gov' " slot="end"
|
|
|
|
|
src='assets/images/theme/gov/icons-calendar-arrow-left.svg'></ion-icon>
|
|
|
|
|
<ion-icon *ngIf="ThemeService.currentTheme == 'doneIt' " slot="end"
|
|
|
|
|
src='assets/images/theme/{{ThemeService.currentTheme}}/icons-calendar-arrow-left.svg'></ion-icon>
|
2021-04-08 16:48:06 +01:00
|
|
|
</button>
|
2021-02-24 09:14:58 +01:00
|
|
|
</div>
|
2021-06-11 13:54:18 +01:00
|
|
|
<div class="middle" (click)="openOptions()">
|
2023-12-27 10:28:48 +01:00
|
|
|
<p class="title">{{loadedEvent.Subject}}</p>
|
2021-02-24 09:14:58 +01:00
|
|
|
</div>
|
2021-04-23 10:35:53 +01:00
|
|
|
|
2021-04-30 19:18:06 +01:00
|
|
|
<div class="div-icon d-flex align-base">
|
2023-06-30 10:44:41 +01:00
|
|
|
<button class="btn-no-color" (click)="editEvent()">
|
2023-07-27 12:58:01 +01:00
|
|
|
<ion-icon *ngIf="ThemeService.currentTheme == 'default' " class="edit" slot="end"
|
|
|
|
|
src="assets/images/icons-edit.svg"></ion-icon>
|
|
|
|
|
<ion-icon *ngIf="ThemeService.currentTheme == 'gov' " class="edit" slot="end"
|
|
|
|
|
src="assets/images/theme/gov/icons-edit.svg"></ion-icon>
|
|
|
|
|
<ion-icon *ngIf="ThemeService.currentTheme == 'doneIt' " class="edit" slot="end"
|
|
|
|
|
src="assets/images/theme/{{ThemeService.currentTheme}}/icons-edit.svg"></ion-icon>
|
2021-04-08 16:48:06 +01:00
|
|
|
</button>
|
2022-12-16 15:38:59 +01:00
|
|
|
<button class="btn-no-color" (click)="deleteYesOrNo()">
|
2021-09-15 09:48:23 +01:00
|
|
|
<ion-icon class="delete" name="trash-sharp"></ion-icon>
|
2023-06-30 10:44:41 +01:00
|
|
|
</button>
|
2023-07-06 12:18:15 +01:00
|
|
|
|
2023-07-27 12:58:01 +01:00
|
|
|
|
2023-07-15 11:39:30 +01:00
|
|
|
<!-- <div class="div-icon" (click)="openOptions()">
|
2023-11-14 12:04:31 +01:00
|
|
|
<ion-icon *ngIf="ThemeService.currentTheme == 'default' " src="assets/images/theme/blue/icons-menu.svg"></ion-icon>
|
2023-07-06 12:18:15 +01:00
|
|
|
<ion-icon *ngIf="ThemeService.currentTheme == 'gov' " src="assets/images/theme/gov/icons-menu.svg"></ion-icon>
|
|
|
|
|
<ion-icon *ngIf="ThemeService.currentTheme == 'doneIt' " src="assets/images/theme/{{ThemeService.currentTheme}}/icons-menu.svg"></ion-icon>
|
|
|
|
|
</div>
|
|
|
|
|
<div *ngIf="loadedEvent.Subject">
|
|
|
|
|
<div (click)="editEvent()">Editar</div>
|
|
|
|
|
<div (click)="deleteYesOrNo()">Apagar</div>
|
|
|
|
|
<div id="desktop-create-chat-from-event" (click)="openNewGroupPage()">Criar Conversa</div>
|
2023-07-15 11:39:30 +01:00
|
|
|
</div> -->
|
2023-07-06 12:18:15 +01:00
|
|
|
|
2021-02-24 09:14:58 +01:00
|
|
|
</div>
|
2021-04-23 10:35:53 +01:00
|
|
|
|
2021-02-24 09:14:58 +01:00
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</ion-toolbar>
|
2021-02-24 10:08:50 +01:00
|
|
|
</ion-header>
|
2021-02-24 09:14:58 +01:00
|
|
|
|
2021-02-24 10:08:50 +01:00
|
|
|
<ion-content>
|
2021-09-03 12:19:21 +01:00
|
|
|
|
2021-02-24 09:14:58 +01:00
|
|
|
<div class="main-content">
|
|
|
|
|
<div class="upper-content">
|
2021-03-30 16:25:50 +01:00
|
|
|
<div class="content-location">
|
2021-07-26 22:46:33 +01:00
|
|
|
|
2023-12-27 10:28:48 +01:00
|
|
|
<span class="date">{{loadedEvent.Location}}</span>
|
2021-09-15 09:48:23 +01:00
|
|
|
|
2021-08-25 12:34:02 +01:00
|
|
|
<div *ngIf="loadedEvent.Organizer">
|
2023-07-27 12:58:01 +01:00
|
|
|
|
2022-07-12 15:22:36 +01:00
|
|
|
<div *ngIf="eventsService.isMyEvent(loadedEvent) == false || sesseionStora.user.Profile =='PR'">
|
2023-07-27 12:58:01 +01:00
|
|
|
<span class="label" *ngIf="loadedEvent.CalendarName == 'Oficial' "
|
|
|
|
|
style="background-color: #99e47b;">{{loadedEvent.CalendarName}}</span>
|
|
|
|
|
<span class="label" *ngIf="loadedEvent.CalendarName == 'Pessoal' "
|
|
|
|
|
style="background-color: #958bfc;">{{loadedEvent.CalendarName}}</span>
|
2021-08-25 12:34:02 +01:00
|
|
|
</div>
|
2021-09-15 09:48:23 +01:00
|
|
|
|
2022-07-12 15:22:36 +01:00
|
|
|
<div *ngIf="eventsService.isMyEvent(loadedEvent) == true && sesseionStora.user.Profile !='PR'">
|
2023-07-27 12:58:01 +01:00
|
|
|
<span class="label" *ngIf="loadedEvent.CalendarName == 'Oficial' "
|
|
|
|
|
style="background-color: #ffb703;">{{loadedEvent.CalendarName}}</span>
|
|
|
|
|
<span class="label" *ngIf="loadedEvent.CalendarName == 'Pessoal' "
|
|
|
|
|
style="background-color: #f05d5e;">{{loadedEvent.CalendarName}}</span>
|
2021-08-25 12:34:02 +01:00
|
|
|
</div>
|
2021-07-26 22:46:33 +01:00
|
|
|
</div>
|
|
|
|
|
|
2021-02-24 09:14:58 +01:00
|
|
|
</div>
|
|
|
|
|
<div class="content-details">
|
|
|
|
|
<ion-label>
|
2023-09-26 14:05:07 +01:00
|
|
|
<p>{{customDate}}</p>
|
|
|
|
|
<p>{{TimeZoneString}}</p>
|
2023-07-27 12:58:01 +01:00
|
|
|
<p *ngIf="toDateString(loadedEvent.StartDate) == toDateString(loadedEvent.EndDate)">das
|
|
|
|
|
{{loadedEvent.StartDate | date: 'HH:mm'}} às {{loadedEvent.EndDate | date: 'HH:mm'}}</p>
|
|
|
|
|
<p *ngIf="toDateString(loadedEvent.StartDate) != toDateString(loadedEvent.EndDate)">{{loadedEvent.StartDate |
|
|
|
|
|
date: 'd/M/yy' }} - {{ loadedEvent.EndDate | date: 'dd/M/yy'}} </p>
|
2022-06-30 16:47:45 +01:00
|
|
|
<p *ngIf="loadedEvent.EventRecurrence">
|
2021-12-11 16:27:41 +01:00
|
|
|
<span *ngIf="loadedEvent.EventRecurrence.Type == 0">Diário</span>
|
|
|
|
|
<span *ngIf="loadedEvent.EventRecurrence.Type == 1">Semanal</span>
|
|
|
|
|
<span *ngIf="loadedEvent.EventRecurrence.Type == 2">Mensal</span>
|
|
|
|
|
<span *ngIf="loadedEvent.EventRecurrence.Type == 3">Anual</span>
|
2023-07-27 12:58:01 +01:00
|
|
|
<span *ngIf="loadedEvent.EventRecurrence.Type == -1">(Não se repete)</span>
|
2021-12-11 16:27:41 +01:00
|
|
|
</p>
|
|
|
|
|
|
2021-02-24 09:14:58 +01:00
|
|
|
</ion-label>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
2021-04-05 14:13:13 +01:00
|
|
|
<div class="line"></div>
|
2021-02-24 09:14:58 +01:00
|
|
|
<div class="middle-content">
|
2021-04-01 17:22:56 +01:00
|
|
|
<div *ngIf="loadedEvent.Attendees">
|
2023-08-30 17:07:08 +01:00
|
|
|
<h5 class="font-17-rem">Intervenientes</h5>
|
2021-04-01 17:22:56 +01:00
|
|
|
<ion-item class="ion-no-margin ion-no-padding">
|
|
|
|
|
<ion-label>
|
|
|
|
|
<div *ngFor="let attendee of loadedEvent.Attendees">
|
|
|
|
|
<p>{{attendee.Name}}</p>
|
|
|
|
|
</div>
|
|
|
|
|
</ion-label>
|
|
|
|
|
</ion-item>
|
|
|
|
|
</div>
|
2021-04-08 09:14:28 +01:00
|
|
|
<div *ngIf="loadedEvent.Body.Text">
|
2023-07-07 12:03:03 +01:00
|
|
|
<h5 class="font-17-rem">Detalhes</h5>
|
2021-04-08 09:14:28 +01:00
|
|
|
<ion-item lines="none" class="ion-no-margin ion-no-padding">
|
2023-02-01 13:22:22 +01:00
|
|
|
<pre class="text">{{ loadedEvent.Body.Text }} </pre>
|
2021-04-08 09:14:28 +01:00
|
|
|
</ion-item>
|
2021-04-20 16:31:38 +01:00
|
|
|
<div class="line"></div>
|
2021-04-08 09:14:28 +01:00
|
|
|
</div>
|
2021-02-24 09:14:58 +01:00
|
|
|
</div>
|
2021-09-15 09:48:23 +01:00
|
|
|
|
2021-09-15 09:54:11 +01:00
|
|
|
<div *ngIf="loadedEvent.Attachments" class="bottom-content width-100">
|
2023-07-07 12:03:03 +01:00
|
|
|
<h5 class="font-17-rem">Documentos Anexados</h5>
|
2021-04-20 16:06:31 +01:00
|
|
|
<ion-list class="width-100">
|
2023-07-27 12:58:01 +01:00
|
|
|
<li *ngFor="let attach of loadedEvent.Attachments; let i = index" class="width-100" lines="none"
|
|
|
|
|
class="ion-no-margin ion-no-padding pa-0">
|
2021-10-20 12:21:38 +01:00
|
|
|
<ion-label class="width-100 d-flex align-center">
|
|
|
|
|
<p class="flex-grow-1 cursor-pointer" (click)="docIndex(i);LoadDocumentDetails()">
|
2021-05-03 10:48:38 +01:00
|
|
|
<span class="attach-title-item d-block">{{attach.SourceName}}</span>
|
|
|
|
|
<span class="span-left d-block">{{attach.Stakeholders}}</span>
|
2021-04-29 15:25:14 +01:00
|
|
|
</p>
|
2021-04-27 09:56:14 +01:00
|
|
|
|
2021-10-20 12:21:38 +01:00
|
|
|
<div class="d-flex pr-10 cursor-pointer" (click)="docIndex(i);LoadDocumentDetails()">
|
2021-08-11 17:05:37 +01:00
|
|
|
<span class="span-right">{{ attach.CreateDate | date: 'dd-MM-yyyy HH:mm' }}</span>
|
2021-04-27 09:56:14 +01:00
|
|
|
</div>
|
|
|
|
|
|
2023-08-14 16:25:57 +01:00
|
|
|
<!-- <div (click)="docIndex(i);LoadDocumentDetails()" class="doc-options">
|
2023-11-14 12:04:31 +01:00
|
|
|
<ion-icon *ngIf="ThemeService.currentTheme == 'default' " src="assets/images/theme/blue/icons-menu.svg"></ion-icon>
|
2023-07-27 12:58:01 +01:00
|
|
|
<ion-icon *ngIf="ThemeService.currentTheme == 'gov' "
|
|
|
|
|
src="assets/images/theme/gov/icons-menu.svg"></ion-icon>
|
2023-08-14 16:25:57 +01:00
|
|
|
</div> -->
|
2021-04-27 09:56:14 +01:00
|
|
|
|
2021-04-20 16:31:38 +01:00
|
|
|
</ion-label>
|
2021-05-12 16:45:27 +01:00
|
|
|
</li>
|
2021-02-24 09:14:58 +01:00
|
|
|
</ion-list>
|
|
|
|
|
</div>
|
2021-10-07 16:57:21 +01:00
|
|
|
|
2021-09-15 09:48:23 +01:00
|
|
|
</div>
|
|
|
|
|
|
2023-09-26 14:05:07 +01:00
|
|
|
</ion-content>
|