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>
+6 -6
View File
@@ -1,12 +1,12 @@
export let versionData = {
"shortSHA": "0c27c2f21",
"SHA": "0c27c2f21396a70a7b451935fa56f0bb92f59ac9",
"shortSHA": "8639f08f9",
"SHA": "8639f08f9eedebab62ccbacd220495ee9c00b03f",
"branch": "feature/gabineteLabels",
"lastCommitAuthor": "'Peter Maquiran'",
"lastCommitTime": "'Thu Apr 20 15:34:00 2023 +0100'",
"lastCommitMessage": "add lebels",
"lastCommitNumber": "4926",
"lastCommitTime": "'Fri Apr 21 16:26:13 2023 +0100'",
"lastCommitMessage": "fix",
"lastCommitNumber": "4927",
"change": "",
"changeStatus": "On branch feature/gabineteLabels\nChanges to be committed:\n (use \"git restore --staged <file>...\" to unstage)\n\tmodified: src/app/services/task.service.ts\n\tmodified: src/app/shared/gabinete-digital/all-processes/all-processes.page.ts\n\tmodified: src/environments/environment.ts",
"changeStatus": "On branch feature/gabineteLabels\nChanges to be committed:\n (use \"git restore --staged <file>...\" to unstage)\n\tmodified: src/app/pages/events/events.page.scss\n\tmodified: src/app/pages/gabinete-digital/gabinete-digital.page.html\n\tmodified: version/git-version.ts",
"changeAuthor": "peter.maquiran"
}