fix count

This commit is contained in:
Peter Maquiran
2023-04-24 11:30:21 +01:00
parent 8639f08f9e
commit 04785f32f9
3 changed files with 15 additions and 8 deletions
+3
View File
@@ -621,6 +621,9 @@ ion-title{
width: unset !important;
max-width: unset !important;
}
ion-item{
border-bottom: unset !important;
}
}
@@ -221,7 +221,11 @@
<!-- <ion-icon src="assets/images/icons-agenda.svg"></ion-icon> -->
<fa-icon class="icon-selected" icon="align-justify"></fa-icon>
</div>
<p class="text-center exp-card-title ">Todas as tarefas</p>
<p class="text-center exp-card-title ">
Todas as tarefas <br>
<span class="new-task-count" *ngIf="TaskService.new >=2">{{ TaskService.new }} Novas tarefas </span>
<span class="new-task-count" *ngIf="TaskService.new == 1">{{ TaskService.new }} Nova tarefa</span>
</p>
<p class="text-center exp-card-content"> {{ AllProcess.length }} <span class="title1">Documentos</span></p>
</div>
@@ -445,7 +449,7 @@
<p *ngIf="!p.userPermission([p.permissionList.Gabinete.pr_tasks])" class="text-center exp-card-title ">
Pendentes<br>
<span class="new-task-count" *ngIf="TaskService.pendentesstore.newList.length >=2">{{ TaskService.pendentesstore.newList.length}} Pendentes novos</span>
<span class="new-task-count" *ngIf="TaskService.pendentesstore.newList.length >=2">{{ TaskService.pendentesstore.newList.length}} Pendente novo</span>
<span class="new-task-count" *ngIf="TaskService.pendentesstore.newList.length >=1">{{ TaskService.pendentesstore.newList.length}} Pendente novo</span>
</p>
<p *ngIf="p.userPermission([p.permissionList.Gabinete.pr_tasks])" class="text-center exp-card-title ">Meus Pendentes<br>