File tree Expand file tree Collapse file tree 2 files changed +6
-2
lines changed
Expand file tree Collapse file tree 2 files changed +6
-2
lines changed Original file line number Diff line number Diff line change 1616 </ div >
1717
1818 < div class ="card-body ">
19- < p *ngIf ="!isClockIn " class ="card-title text-left "> < strong > Dario </ strong > clocked < strong class ="text-success "> in</ strong > at < strong > hh:mm:ss </ strong > </ p >
20- < p *ngIf ="isClockIn " class ="card-title text-left "> < strong > Dario </ strong > clocked < strong class ="text-danger "> out</ strong > at < strong > hh:mm:ss </ strong > </ p >
19+ < p *ngIf ="!isClockIn " class ="card-title text-left "> < strong > {{ username }} </ strong > clocked < strong class ="text-success "> in</ strong > at < strong > {{ clockInUsername }} </ strong > </ p >
20+ < p *ngIf ="isClockIn " class ="card-title text-left "> < strong > {{ username }} </ strong > clocked < strong class ="text-danger "> out</ strong > at < strong > {{ clockOutUsername }} </ strong > </ p >
2121 < h6 class ="text-left "> < strong > Totals</ strong > </ h6 >
2222 < hr >
2323 < div class ="row ">
Original file line number Diff line number Diff line change @@ -7,6 +7,10 @@ import { Component, OnInit } from '@angular/core';
77} )
88export class TimeClockComponent {
99
10+ username = 'Dario' ;
11+ clockInUsername = 'hh:mm:ss' ;
12+ clockOutUsername = 'hh:mm:ss' ;
13+
1014 isClockIn : boolean ;
1115 isEnterTechnology : boolean ;
1216 showAlertEnterTecnology : boolean ;
You can’t perform that action at this time.
0 commit comments