Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dev #6157

Merged
merged 12 commits into from
Aug 16, 2024
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
(click)="showConfirmationModal(ConfirmationActions.APPROVE_APPLICATION)"
type=" button"
class="btn btn-success"
tooltip="Approve Application"
>
<i class="fa fa-check"></i>&nbsp;
<span class="d-none">Approve</span>
Expand All @@ -23,6 +24,7 @@
(click)="showConfirmationModal(ConfirmationActions.DECLINE_APPLICATION)"
type="button"
class="btn btn-danger"
tooltip="Decline Application"
>
<i class="fa fa-times"></i>&nbsp;
<span class="d-none">Decline</span>
Expand All @@ -36,6 +38,7 @@
type="button"
[attr.data-test-id]="'extension_approval_' + application?.project_application_name"
class="btn btn-success"
tooltip="Approve Extension"
>
<i class="fa fa-check"></i>&nbsp;
<span class="d-none">Approve Extension</span>
Expand All @@ -48,6 +51,7 @@
(click)="showConfirmationModal(ConfirmationActions.DECLINE_EXTENSION)"
type="button"
class="btn btn-danger"
tooltip="Decline Extension"
>
<i class="fa fa-times"></i>&nbsp;
<span class="d-none">Decline Extension</span>
Expand All @@ -62,6 +66,7 @@
class="btn btn-success"
[attr.data-test-id]="'approveModificationButton_' + application?.project_application_shortname"
(click)="showConfirmationModal(ConfirmationActions.APPROVE_MODIFICATION)"
tooltop="Approve Modification"
>
<i class="fa fa-check"></i>&nbsp;
<span class="d-none">Approve Modification</span>
Expand All @@ -73,6 +78,7 @@
(click)="showConfirmationModal(ConfirmationActions.DECLINE_MODIFICATION)"
type="button"
class="btn btn-danger"
tooltip="Decline Modification"
>
<i class="fa fa-times"></i>
<span class="d-none">Decline Modification</span>
Expand All @@ -85,6 +91,7 @@
type="button"
class="btn btn-danger"
data-test-id="terminate_project_btn"
tooltip="Terminate Project"
(click)="showConfirmationModal(ConfirmationActions.APPROVE_TERMINATION)"
>
<i class="fa fa-check"></i>&nbsp;
Expand All @@ -97,6 +104,7 @@
(click)="showConfirmationModal(ConfirmationActions.DECLINE_TERMINATION)"
type="button"
class="btn btn-warning"
tooltip="Decline Termination"
>
<i class="fa fa-times"></i>
<span class="d-none"> Decline Termination</span>
Expand All @@ -109,7 +117,7 @@
type="button"
class="btn btn-secondary"
style="margin: 2px"
tooltip="Show details"
tooltip="{{ isCollapsed ? 'Show' : 'Hide' }} details"
>
<i class="fa fa-info-circle"></i>&nbsp;
<span class="d-none" [hidden]="!isCollapsed">Show</span>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,8 @@ export class ApplicationFacilityActionsComponent extends AbstractBaseClass {
}

switchCollaps() {
this.switchCollapseEvent.emit()
this.isCollapsed = !this.isCollapsed;
this.switchCollapseEvent.emit();
}

triggerRemoveApplication() {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@
[disabled]="!selectedComputeCenter"
type="button"
class="btn btn-success"
tooltip="Approve Application!!!"
tooltip="Approve Application"
>
<i class="fa fa-check"></i>&nbsp;
<span class="d-none">Approve & Create </span>
Expand Down
Loading