Skip to content

Commit

Permalink
Merge pull request #410 from chaitrali-r/demo-donor
Browse files Browse the repository at this point in the history
Button UI Changes
  • Loading branch information
Pratikshakhandagale authored Sep 11, 2023
2 parents fc7188d + 8f6e078 commit 74fe232
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions donor-registry/src/app/layouts/layouts.component.html
Original file line number Diff line number Diff line change
Expand Up @@ -39,13 +39,13 @@ <h3 class="mb-1 text-wb">

<a href="form/pledge-setup/{{item?.osid}}"
*ngIf="item?.pledgeDetails?.organs?.length || item?.pledgeDetails?.tissues?.length">
<button class="fs-14 btn btn-primary-green submit-button mt-2 fw-bold">
<button class="fs-14 btn btn-primary submit-button mt-2 fw-bold">
{{'EDIT' | translate}}
</button>
</a>

<a *ngIf="item?.pledgeDetails?.organs?.length || item?.pledgeDetails?.tissues?.length">
<button class="fs-14 fw-bold btn btn-primary-green submit-button ml-2 mt-2"
<button class="fs-14 fw-bold btn btn-primary submit-button ml-2 mt-2"
(click)="actionData(item)" data-mdb-toggle="tooltip" data-toggle="modal"
data-target="#deleteModalPledge">
{{'UNPLEDGE' | translate}}
Expand All @@ -55,11 +55,11 @@ <h3 class="mb-1 text-wb">
<div class="pledge-btn">
<div *ngIf="item?.pledgeDetails?.organs?.length || item?.pledgeDetails?.tissues?.length">
<button type="button" data-mdb-toggle="tooltip"
class="fs-14 fw-bold btn btn-primary-green submit-button" data-toggle="modal"
class="fs-14 fw-bold btn btn-primary submit-button" data-toggle="modal"
data-target="#selectLanguage" (click)="checkIndex(i)">
<i aria-hidden="true" class="fa fa-download"></i> {{'DOWNLOAD_DONOR_CARD' | translate}}
</button>
<button (click)="navSharePage(item?.osid)" type="button" class="fs-14 ml-2 fw-bold btn btn-primary-green submit-button" >
<button (click)="navSharePage(item?.osid)" type="button" class="fs-14 ml-2 fw-bold btn btn-primary submit-button" >
<i aria-hidden="true" class="fa fa-share"></i> {{'SHARE' | translate}}
</button>
<p class="mt-1 fs-10 ml-3 fw-bold">{{item?.pledgeDetails.osUpdatedAt | date : 'dd-MM-y : H:mm'}}
Expand All @@ -69,7 +69,7 @@ <h3 class="mb-1 text-wb">


<a *ngIf="!item?.pledgeDetails?.organs?.length && !item?.pledgeDetails?.tissues?.length">
<button class="fs-14 fw-bold btn btn-primary-green submit-button"
<button class="fs-14 fw-bold btn btn-primary submit-button"
(click)="pledgeAgain(item?.osid)">
Pledge Again
</button>
Expand Down Expand Up @@ -106,7 +106,7 @@ <h3 class="mb-1 text-wb">
<p *ngIf="languageNotSelected" class="red fs-12">{{'PLZ_SELECT_LANG' | translate}}</p>

<div class="container-fluid mt-3">
<button data-dismiss="modal" class="btn btn-secondary-notto btn-style mb-2">{{'CANCEL'| translate}}</button>
<button data-dismiss="modal" class="btn btn-primary btn-style mb-2">{{'CANCEL'| translate}}</button>
<button id="" type="submit" class="btn btn-primary-notto btn-stle float-end submit-button mb-2"
(click)="downloadPledgeCard()">{{'DOWNLOAD' | translate}}</button>
</div>
Expand Down

0 comments on commit 74fe232

Please sign in to comment.