Skip to content

Commit

Permalink
back and cancel button
Browse files Browse the repository at this point in the history
  • Loading branch information
vktrrdk committed Jan 17, 2025
1 parent 59d84d3 commit 9c42334
Showing 1 changed file with 13 additions and 5 deletions.
18 changes: 13 additions & 5 deletions src/app/projectmanagement/modals/result/result.component.html
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ <h4 class="modal-title">{{ project?.project_application_shortname }}</h4>
<div class="modal-footer">
<button
id="confirm_extension_btn"
class="btn btn-success col-md-4"
class="btn btn-success col-md-3"
type="button"
data-test-id="confirm_extension_request_button"
*ngIf="lifetimeExtension && !adjustedModification"
Expand All @@ -152,7 +152,7 @@ <h4 class="modal-title">{{ project?.project_application_shortname }}</h4>
</button>
<button
id="confirm_modification_btn"
class="btn btn-success col-md-4"
class="btn btn-success col-md-3"
type="button"
data-test-id="confirm_modification_request_button"
*ngIf="modificationExtension && !adjustedModification"
Expand All @@ -162,7 +162,7 @@ <h4 class="modal-title">{{ project?.project_application_shortname }}</h4>
</button>
<button
id="confirm_credits_btn"
class="btn btn-success col-md-4"
class="btn btn-success col-md-3"
type="button"
data-test-id="confirm_credits_request_button"
*ngIf="creditsExtension && !adjustedModification"
Expand All @@ -172,7 +172,7 @@ <h4 class="modal-title">{{ project?.project_application_shortname }}</h4>
</button>
<button
id="confirm_adjustment_btn"
class="btn btn-success col-md-4"
class="btn btn-success col-md-3"
type="button"
data-test-id="confirm_adjustment_request_button"
*ngIf="adjustedModification"
Expand All @@ -181,7 +181,15 @@ <h4 class="modal-title">{{ project?.project_application_shortname }}</h4>
Confirm
</button>

<button class="btn btn-primary col-md-4" type="reset" (click)="bsModalRef.hide(); chainDataInput();">Cancel</button>
<button
*ngIf="modificationExtension && !adjustedModification"
class="btn btn-primary col-md-3"
type="reset"
(click)="bsModalRef.hide(); chainDataInput()"
>
<i class="fa-solid fa-backward"></i> Back
</button>
<button class="btn btn-danger col-md-3" type="reset" (click)="bsModalRef.hide()">Cancel</button>
</div>
</ng-container>

Expand Down

0 comments on commit 9c42334

Please sign in to comment.