Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
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-395 remove button create, update and dropdown
  • Loading branch information
ararcos committed Nov 5, 2021
commit 62e6d1366f69beda9d75090ec6470a86232cea08
Original file line number Diff line number Diff line change
Expand Up @@ -4,25 +4,25 @@
<tr class="d-flex">
<th class="col-4 text-center">Activity ID</th>
<th class="col-4 text-center">Activity</th>
<th class="col-2 text-center">Options</th>
<th class="col-2 text-center">Operation</th>
<th class="col-2 text-center hidden">Options</th>
<th class="col-4 text-center">Operation</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-4">{{ activity.name }}</td>
<td class="col-2 text-center">
<td class="col-2 text-center hidden">
<button type="button" class="btn btn-sm btn-primary" (click)="updateActivity(activity.id)">
<i class="fa fa-pencil fa-xs"></i>
</button>
</td>
<td class="col-2 text-center">
<app-dropdown
[info] = "activity"
(updateInfo) = "changeOperation($event)"
> </app-dropdown>
<td class="col-4 text-center">
<div class="flex justify-center">
<em class="fa mr-2" [ngClass]="[activity.btnIcon, activity.iconColor]"></em>
<p> {{ activity.btnName }}</p>
</div>
</td>
</tr>
</tbody>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<div class="col-12 col-md-9 px-0">
<div>
<div class="hidden">
<app-create-activity
[showActivityForm]="showActivityForm" (changeValueShowActivityForm)="showActivityForm = $event"></app-create-activity>
</div>
Expand Down