Skip to content
Merged
Changes from 1 commit
Commits
Show all changes
19 commits
Select commit Hold shift + click to select a range
217fbb8
feat: TT-208 add new column in activity-list
thegreatyamori Apr 19, 2021
6c1c06f
feat: TT-208 add switch status button in column
thegreatyamori Apr 19, 2021
dc10fcf
feat: TT-208 remove delete button & assign openmodal to switch
thegreatyamori Apr 20, 2021
fb37b3b
feat: TT-208 connect switch btn with ngrx flux
thegreatyamori Apr 20, 2021
f0275f8
feat: TT-208 update ngrx delete flux
thegreatyamori Apr 20, 2021
e8ee50f
feat: TT-208 show active activities in entry & details fields
thegreatyamori Apr 21, 2021
a62c980
feat: TT-208 change ui-switch to button
thegreatyamori Apr 22, 2021
5c19c86
fix: TT-208 display the required activities when clicking on time en…
thegreatyamori Apr 26, 2021
a76051c
Merge branch 'master' into TT-208-don't-allow-deleting-activities
thegreatyamori Apr 26, 2021
aa698ee
feat: TT-208 add new column in activity-list
thegreatyamori Apr 26, 2021
5ca9a8f
feat: TT-208 add switch status button in column
thegreatyamori Apr 26, 2021
17d5acd
feat: TT-208 remove delete button & assign openmodal to switch
thegreatyamori Apr 26, 2021
90742ad
feat: TT-208 connect switch btn with ngrx flux
thegreatyamori Apr 26, 2021
4977dff
feat: TT-208 update ngrx delete flux
thegreatyamori Apr 26, 2021
1d0107d
feat: TT-208 show active activities in entry & details fields
thegreatyamori Apr 21, 2021
5808250
feat: TT-208 change ui-switch to button
thegreatyamori Apr 22, 2021
286033c
fix: TT-208 display the required activities when clicking on time en…
thegreatyamori Apr 26, 2021
3a5e107
feat: TT-208 rebase on latest master commit
thegreatyamori Apr 26, 2021
1c9ee96
fix: TT-208 merging conflicts
thegreatyamori Apr 26, 2021
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
feat: TT-208 add new column in activity-list
  • Loading branch information
thegreatyamori committed Apr 19, 2021
commit 217fbb8702c83380330e1fd145e91efad39e2e77
Original file line number Diff line number Diff line change
Expand Up @@ -3,47 +3,41 @@
<thead class="thead-blue">
<tr class="d-flex">
<th class="col-4 text-center">Activity ID</th>
<th class="col-5 text-center">Activity</th>
<th class="col-3 text-center">Options</th>
<th class="col-4 text-center">Activity</th>
<th class="col-2 text-center">Options</th>
<th class="col-2 text-center">Status</th>
</tr>
</thead>
<app-loading-bar *ngIf="(isLoading$ | async)"></app-loading-bar>
<tbody *ngIf="(isLoading$ | async) === false">
<tr class="d-flex" *ngFor="let activity of activities">
<td class="col-4 text-break">{{ activity.id }}</td>
<td class="col-5 ">{{ activity.name }}</td>
<td class="col-3 text-center">
<button
type="button"
class="btn btn-sm btn-primary"
(click)="updateActivity(activity.id)"
>
<td class="col-4 ">{{ activity.name }}</td>
<td class="col-2 text-center">
<button type="button" class="btn btn-sm btn-primary" (click)="updateActivity(activity.id)">
<i class="fa fa-pencil fa-xs"></i>
</button>
<button
type="button"
class="btn btn-sm btn-danger ml-2"
data-toggle="modal"
data-target="#deleteModal"
(click)="openModal(activity)"
>
<button type="button" class="btn btn-sm btn-danger ml-2" data-toggle="modal" data-target="#deleteModal"
(click)="openModal(activity)">
<i class="fas fa-trash-alt fa-xs"></i>
</button>
</td>
<td class="col-2 text-center">
status
</td>
</tr>
</tbody>
</table>
</div>

<app-dialog
*ngIf="showModal"
class="modal fade"
id="deleteModal"
tabindex="-1"
role="dialog"
<app-dialog
*ngIf="showModal"
class="modal fade"
id="deleteModal"
tabindex="-1"
role="dialog"
aria-hidden="true"
[title]="'Delete Activity'"
[body]="message"
(closeModalEvent)="deleteActivity()"
>
[title]="'Delete Activity'"
[body]="message"
(closeModalEvent)="deleteActivity()">
</app-dialog>