Skip to content

Commit ed1cff4

Browse files
Merge pull request #437 from communitybridge/reset-main
Reset to main
2 parents 1005f4d + c4d8885 commit ed1cff4

File tree

19 files changed

+35
-136
lines changed

19 files changed

+35
-136
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ Once the CLA is signed, the GitHub pull request status is updated.
2626

2727
## Documentation
2828

29-
Please see our [online product documentation](https://docs.linuxfoundation.org/lfx/easycla) for a complete product
29+
Please see our [online product documentation](https://docs.linuxfoundation.org/lfx/v/v2/easycla) for a complete product
3030
overview.
3131

3232
## License

src/app/app.component.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,6 @@
44

55
<div class="fix-header-margin">
66
<app-alert></app-alert>
7-
<router-outlet></router-outlet>
7+
<router-outlet></router-outlet>
88
</div>
99
<lfx-footer></lfx-footer>

src/app/app.component.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,4 @@
44
margin-top: 35px;
55
padding: 25px 0 0 0;
66
min-height: calc(100vh - 125px);
7-
}
7+
}

src/app/app.component.ts

Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,8 @@
11
// Copyright The Linux Foundation and each contributor to CommunityBridge.
22
// SPDX-License-Identifier: MIT
33

4-
5-
// To run this project you required node version 12.0.0 or higher, yarn 1.13.0 or higher.
6-
74
import { Component } from '@angular/core';
5+
import { LfxHeaderService } from './shared/services/lfx-header.service';
86
import { environment } from 'src/environments/environment';
97

108
@Component({
@@ -13,9 +11,19 @@ import { environment } from 'src/environments/environment';
1311
styleUrls: ['./app.component.scss'],
1412
})
1513
export class AppComponent {
14+
title = 'easycla-contributor-console';
15+
hasExpanded: boolean;
16+
links: any[];
17+
18+
constructor(private lfxHeaderService: LfxHeaderService) {}
19+
20+
onToggled() {
21+
this.hasExpanded = !this.hasExpanded;
22+
}
1623

1724
ngOnInit() {
1825
this.mountHeader();
26+
this.hasExpanded = true;
1927
}
2028

2129
private mountHeader(): void {

src/app/config/app-settings.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,5 +49,4 @@ export class AppSettings {
4949
public static GITLAB_DOMAIN = "gitlab.com";
5050
public static GITLAB = "Gitlab";
5151
public static SUPPORT_TICKET_LINK = 'https://jira.linuxfoundation.org/plugins/servlet/theme/portal/4/create/143';
52-
public static ACCEPTED_TERMS = 'acceptedTerms';
5352
}

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

Lines changed: 3 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -102,14 +102,8 @@
102102
</div>
103103
</div>
104104
</div>
105-
106-
<div class="row justify-content-center" style="margin: 30px 0 30px 0;">
107-
<div class="col-12">
108-
<app-consent (termAccepted)="hasTermAccepted = $event"></app-consent>
109-
</div>
110-
</div>
111105

112-
<div class="col-12 buttons">
106+
<div class="col-12 buttons" [ngClass]="{ 'mt-30': selectedCompany }">
113107
<div class="row justify-content-center align-items-center">
114108
<div class="col-xs-6 col-sm-6 col-md-4 col-lg-3">
115109
<button
@@ -125,9 +119,9 @@
125119
<button
126120
tabindex="-1"
127121
type="button"
128-
[disabled]="selectedCompany === '' || !hasTermAccepted"
122+
[disabled]="selectedCompany === ''"
129123
class="btn inactive"
130-
[ngClass]="{ active: selectedCompany !== '' && hasTermAccepted }"
124+
[ngClass]="{ active: selectedCompany !== '' }"
131125
(click)="onClickProceed()"
132126
>
133127
Proceed

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

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,10 @@
3737
position: relative;
3838
}
3939

40+
.mt-30 {
41+
margin-top: 30px !important;
42+
}
43+
4044
.building-icon {
4145
float: right;
4246
margin-top: -32px;
@@ -105,6 +109,7 @@
105109
}
106110

107111
.buttons {
112+
margin-top: 100px;
108113
.btn {
109114
text-align: center;
110115
background: #ffffff;

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

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,6 @@ export class CorporateDashboardComponent implements OnInit, OnDestroy {
5858
mySubscription: Subscription;
5959
proccedWithExistingOrganization: Subscription;
6060
attempt: boolean;
61-
hasTermAccepted = false;
6261

6362
constructor(
6463
private route: ActivatedRoute,

src/app/modules/dashboard/container/cla-dashboard/cla-dashboard.component.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,7 @@
4949
</div>
5050
</div>
5151
</div>
52+
5253
<div class="deskop-view">
5354
<div class="row">
5455
<div class="col-xs-12 col-sm-12 col-md-6 col-lg-6">

src/app/modules/individual-contributor/component/docusign-signature-model/docusign-signature-model.component.html

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -33,21 +33,15 @@
3333
</div>
3434
</div>
3535

36-
<div class="row justify-content-center" style="margin: 30px 0 30px 0;">
37-
<div class="col-12">
38-
<app-consent (termAccepted)="hasTermAccepted = $event"></app-consent>
39-
</div>
40-
</div>
41-
4236
<div class="row buttons justify-content-center align-items-center">
4337
<div class="col-xs-6 col-sm-6 col-md-5 col-lg-5">
4438
<button tabindex="-1" type="button" class="btn" (click)="onClickBack()">
4539
GO BACK
4640
</button>
4741
</div>
4842
<div class="col-xs-6 col-sm-6 col-md-5 col-lg-5">
49-
<button tabindex="-1" type="button" [disabled]="status!=='Completed' || !hasTermAccepted"
50-
[ngClass]="{'blue':status==='Completed' && hasTermAccepted}" class="btn gray" (click)="onClickSignCLA()">
43+
<button tabindex="-1" type="button" [disabled]="status!=='Completed'"
44+
[ngClass]="{'blue':status==='Completed'}" class="btn gray" (click)="onClickSignCLA()">
5145
SIGN CLA</button>
5246
</div>
5347
</div>

0 commit comments

Comments
 (0)