Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Open sidebar
enasequence
webin-portal
Commits
b4f4d332
Commit
b4f4d332
authored
Jul 07, 2021
by
Rajkumar-D
Browse files
Update concent text and no Sensitive data
parent
a33d44d2
Pipeline
#278456
failed with stages
in 24 seconds
Changes
2
Pipelines
4
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
21 additions
and
5 deletions
+21
-5
src/app/accountInfo/accountInfo.component.html
src/app/accountInfo/accountInfo.component.html
+19
-5
src/app/accountInfo/accountInfo.component.ts
src/app/accountInfo/accountInfo.component.ts
+2
-0
No files found.
src/app/accountInfo/accountInfo.component.html
View file @
b4f4d332
...
...
@@ -62,6 +62,8 @@
</a>
</div>
</div>
</mat-card>
<mat-card
class=
"mat-body"
>
...
...
@@ -114,11 +116,23 @@
<!--<mat-error *ngIf="mainContact <= 0 ">
Please enter atlease one primary contact to save the account.
</mat-error>-->
</div>
</mat-card>
<mat-card
class=
"mat-body"
>
<div
class=
"row"
>
<mat-card-subtitle>
No Sensitive Data
</mat-card-subtitle>
<mat-checkbox
matInput
name=
"noEffectCheckbox"
[(ngModel)]=
"noEffectCheckbox"
style=
"padding-left: 20px"
[checked]=
"true"
[disabled]=
"editMode"
>
I
confirm that the data
submitted through this account is NOT sensitive,
restricted-access or human-identifiable.
</mat-checkbox>
</div>
</mat-card>
<mat-card
class=
"mat-body"
>
<div
class=
"row"
>
<mat-card-subtitle>
Metagenomics Consent
</mat-card-subtitle>
<p>
By keeping this box checked you give consent to the EBI Metagenomics
...
...
@@ -134,15 +148,15 @@
this paper.
</p>
<mat-checkbox
matInput
name=
"metagenomicsConsented"
[(ngModel)]=
"metagenomicsConsented"
style=
"padding-left: 20px"
>
*
I give consent
and confirm that the data submitted through this
account is NOT sensitive, restricted-access or
human-identifiable:
</mat-checkbox>
style=
"padding-left: 20px"
>
I give consent
that EBI MGnify team can analyse my pre-publication confidential
data.
</mat-checkbox>
</div>
</mat-card>
</div>
<div
style=
"text-align: Center"
>
<button
mat-raised-button
color=
"accent"
[disabled]=
"f.invalid || mainContact <= 0"
>
<button
mat-raised-button
color=
"accent"
[disabled]=
"f.invalid || mainContact <= 0
|| noEffectCheckbox==false
"
>
Save
</button>
<button
mat-raised-button
style=
"margin-left: 5px"
routerLink=
""
>
...
...
@@ -150,4 +164,4 @@
</button>
</div>
</form>
</div>
</div>
\ No newline at end of file
src/app/accountInfo/accountInfo.component.ts
View file @
b4f4d332
...
...
@@ -49,6 +49,7 @@ export class AccountInfoComponent {
];
metagenomeSubmitter
=
false
;
metagenomicsConsented
=
false
;
noEffectCheckbox
=
false
;
/* Used for storing added emails, this will be used for validation */
emails
=
[];
...
...
@@ -70,6 +71,7 @@ export class AccountInfoComponent {
if
(
_webinAuthenticationService
.
authenticated
)
{
this
.
loadUserInfo
(
_webinAuthenticationService
.
username
);
this
.
editMode
=
true
;
this
.
noEffectCheckbox
=
true
;
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment