Skip to content

Commit a9f8b20

Browse files
change message
Signed-off-by: Amol Sontakke <[email protected]>
1 parent 95cc0fc commit a9f8b20

File tree

2 files changed

+4
-24
lines changed

2 files changed

+4
-24
lines changed

src/app/modules/corporate-contributor/container/corporate-dashboard/corporate-dashboard.component.html

Lines changed: 0 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -251,23 +251,4 @@
251251
</div>
252252
</div>
253253
</div>
254-
</ng-template>
255-
256-
<ng-template #errorModal let-modal>
257-
<div class="model">
258-
<div class="modal-body">
259-
<div class="row justify-content-center success-dialog">
260-
<div class="col-auto">
261-
<i class="fas fa-exclamation-circle logo red"></i>
262-
</div>
263-
<div class="col-12 title">{{title}}</div>
264-
<p class="col-11 success-message" [innerHTML]="message"></p>
265-
<div class="col-4">
266-
<button tabindex="-1" type="button" class="success-btn" (click)="onClickExitCLA()">
267-
Go Back
268-
</button>
269-
</div>
270-
</div>
271-
</div>
272-
</div>
273254
</ng-template>

src/app/modules/corporate-contributor/container/corporate-dashboard/corporate-dashboard.component.ts

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -187,14 +187,13 @@ export class CorporateDashboardComponent implements OnInit, OnDestroy {
187187
AppSettings.SELECTED_COMPANY,
188188
this.organization
189189
);
190-
this.checkEmployeeeSignature();
190+
this.checkEmployeeSignature();
191191
}else {
192-
this.title = 'Restricted Organization';
193192
this.message =
194-
`We're sorry, but you are currently unable to sign the Employee Contributor License Agreement (ECLA).
193+
`We're sorry, but you are currently unable to acknowledge the Employee Contributor License Agreement (ECLA) for this organization.
195194
If you believe this may be an error, please reach out to
196195
<a href="https://jira.linuxfoundation.org/servicedesk/customer/portal/4" target="_blank">support</a>`;
197-
this.openWithDismiss(this.errorModal);
196+
this.openWithDismiss(this.warningModal);
198197
}
199198
},
200199
() => {
@@ -216,7 +215,7 @@ export class CorporateDashboardComponent implements OnInit, OnDestroy {
216215
);
217216
}
218217

219-
checkEmployeeeSignature() {
218+
checkEmployeeSignature() {
220219
this.alertService.clearAlert();
221220
const data = {
222221
project_id: this.projectId,

0 commit comments

Comments
 (0)