Skip to content

Commit

Permalink
Merge pull request #122 from suvarnakale/main
Browse files Browse the repository at this point in the history
attestation workflow UI corrected
  • Loading branch information
Pratikshakhandagale authored Sep 11, 2023
2 parents b89b182 + 1d839bd commit 3642b7f
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 7 deletions.
12 changes: 6 additions & 6 deletions src/app/admin/config-workflow/config-workflow.component.html
Original file line number Diff line number Diff line change
Expand Up @@ -59,8 +59,8 @@ <h4>{{ entityName }}</h4>
</select>
</div>
</div>
<div class="col-4">
<div class="mb-3">
<div class="col-10 d-flex justify-content-between align-items-center">
<div class="mb-3 w-50">
<span class="fs-12 fw-bold">{{'CONDITIONS_FOR_ATTESTOR' | translate}}</span><br />
<select name="anyOrAllCondition" id="anyOrAllCondition"
class="w-50 br-4 border-1 border-light fs-14 p-3 mr-2"
Expand All @@ -71,10 +71,10 @@ <h4>{{ entityName }}</h4>
</select>
<span class="fs-14">{{'OF_THE_CONDITIONS_BELOW' | translate}}</span><br />
</div>
</div>
<div class="col-1 offset-5 d-flex flex-row-reverse">
<div role="button" (click)="removeAttestCondition(workflowIndex, attestorIndex)">
<i class="fa fa-times-circle-o mt-1 fa-lg" aria-hidden="true"></i>
<div class="col-1 offset-5 d-flex">
<div role="button" (click)="removeAttestCondition(workflowIndex, attestorIndex)" class="d-flex justify-content-end">
<i class="fa fa-times-circle-o mt-1 fa-lg" aria-hidden="true"></i>
</div>
</div>
</div>
</div>
Expand Down
5 changes: 4 additions & 1 deletion src/app/admin/config-workflow/config-workflow.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,10 @@ export class ConfigWorkflowComponent implements OnInit {

ngOnInit(): void {

// this.patchValueData();
this.addWorkflowItems();
this.addNewAttestCondition(0);
this.addFieldCondition(0, 0);
// this.patchValueData();


this.entityName = this.activeRoute.snapshot.params.entity;
Expand Down

0 comments on commit 3642b7f

Please sign in to comment.