mirror of
https://code.equilibrium.co.ao/ITO/doneit-web.git
synced 2026-04-19 21:06:06 +00:00
merge and add new features
This commit is contained in:
@@ -31,25 +31,25 @@
|
||||
<div class="event-box">
|
||||
<!-- <p>correspondencia com prazo para hoje</p> -->
|
||||
<p>Tarefas que terminam hoje</p>
|
||||
<span>0</span>
|
||||
<span>{{ TaskService.deadline }}</span>
|
||||
</div>
|
||||
|
||||
<div class="event-box">
|
||||
<!-- <p>correspondencia em atraso</p> -->
|
||||
<p>Tarefas em atraso</p>
|
||||
<span>0</span>
|
||||
<span>{{ TaskService.overdueTasks }}</span>
|
||||
</div>
|
||||
|
||||
<div class="event-box">
|
||||
<!-- <p>Novas correspondencia</p> -->
|
||||
<p>Novas tarefas</p>
|
||||
<span>0</span>
|
||||
<span>{{ TaskService.new }}</span>
|
||||
</div>
|
||||
|
||||
<div class="event-box">
|
||||
<!-- <p>correspondencia não lidas</p> -->
|
||||
<p>Tarefas não lidas</p>
|
||||
<span>0</span>
|
||||
<span>{{ TaskService.unread }}</span>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -17,6 +17,7 @@ import { PermissionService } from 'src/app/services/permission.service';
|
||||
import { ViewEventPage } from 'src/app/modals/view-event/view-event.page';
|
||||
import { ChangeProfileService } from 'src/app/services/change-profile.service';
|
||||
import { SessionStore } from 'src/app/store/session.service';
|
||||
import { TaskService } from 'src/app/services/task.service'
|
||||
@Component({
|
||||
selector: 'app-events',
|
||||
templateUrl: './events.page.html',
|
||||
@@ -79,7 +80,10 @@ export class EventsPage implements OnInit {
|
||||
private storage: Storage,
|
||||
public p: PermissionService,
|
||||
private changeProfileService: ChangeProfileService,
|
||||
public TaskService: TaskService
|
||||
) {
|
||||
|
||||
this.TaskService.updateCount()
|
||||
|
||||
|
||||
window['zipPhoneCallback'] = function (zipphone) {
|
||||
|
||||
Reference in New Issue
Block a user