mirror of
https://code.equilibrium.co.ao/ITO/doneit-web.git
synced 2026-04-18 20:47:54 +00:00
icons changes
This commit is contained in:
@@ -106,7 +106,12 @@ export class EventListPage implements OnInit {
|
||||
|
||||
if(this.segment == 'Meu calendario') {
|
||||
// color
|
||||
this.color = 'mdgpr'
|
||||
|
||||
if(SessionStore.user.Profile == 'PR') {
|
||||
this.color = 'pr'
|
||||
} else {
|
||||
this.color = 'mdgpr'
|
||||
}
|
||||
|
||||
let genericEvents = await this.processes.eventsToApprove(SessionStore.user.UserId,'mobile agenda').toPromise()
|
||||
try {
|
||||
|
||||
@@ -106,7 +106,7 @@
|
||||
>
|
||||
<div class="expediente" *ngIf="TaskService.filter(event, filterName)">
|
||||
<!-- (click)="openApproveModal(event)" -->
|
||||
<div class="event-{{color}}-{{event.workflowInstanceDataFields.Agenda}} width-100 d-flex">
|
||||
<div class="event-{{color}}-{{event.workflowInstanceDataFields.Agenda}} width-100 d-flex flex-wrap">
|
||||
<div class="approve-event-time">
|
||||
<p>{{event.workflowInstanceDataFields.StartDate | date: 'HH:mm'}}</p>
|
||||
<p>{{event.workflowInstanceDataFields.EndDate | date: 'HH:mm'}}</p>
|
||||
@@ -120,6 +120,9 @@
|
||||
<span class="dead-line ml-10" *ngIf="TaskService.deadlineIsToday(event.deadline)">Para hoje</span>
|
||||
<span class="new-task ml-10" *ngIf="TaskService.lessThen24Hours(event.taskReceiveDate)">Nova</span>
|
||||
</div>
|
||||
<div *ngIf="event.activityInstanceName" class="width-100 ml-40">
|
||||
<div class="label-event-type font-13-rem"> {{ event.activityInstanceName }} </div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -258,3 +258,15 @@
|
||||
width: 20px;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
.label-event-type {
|
||||
padding: 1px 7px;
|
||||
display: inline-block;
|
||||
background: #ffb703;
|
||||
border-radius: 17px;
|
||||
color: black;
|
||||
font-size: rem(13);
|
||||
}
|
||||
|
||||
@@ -176,14 +176,17 @@ export class EventsToApprovePage implements OnInit {
|
||||
this.showLoader = true;
|
||||
const segment = this.segment
|
||||
|
||||
if(SessionStore.user.Profile == 'PR') {
|
||||
return false
|
||||
}
|
||||
|
||||
|
||||
|
||||
if(this.segment == 'Meu calendario') {
|
||||
// color
|
||||
this.color = 'mdgpr'
|
||||
|
||||
if(SessionStore.user.Profile == 'PR') {
|
||||
this.color = 'pr'
|
||||
} else {
|
||||
this.color = 'mdgpr'
|
||||
}
|
||||
|
||||
|
||||
let genericEvents = await this.processes.eventsToApprove(SessionStore.user.UserId,'mobile agenda').toPromise()
|
||||
try {
|
||||
|
||||
Reference in New Issue
Block a user