B2B-87: add company statistics consent (#29)
* B2B-87: add company statistics consent * add toggle for company statistics consent under profile * add toggle for company statistics consent under profile * add audit logging to accounts * change policy * add audit logging to accounts * remove full account data query and just query the entire account every time * add comment about consent toggle * make constants hardcoded, as dynamic ones do not work * add back pending check --------- Co-authored-by: Helena <helena@Helenas-MacBook-Pro.local>
This commit is contained in:
BIN
public/assets/toggle.png
Normal file
BIN
public/assets/toggle.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 713 KiB |
@@ -115,5 +115,12 @@
|
||||
"createCompanyAccount": "Create Company Account",
|
||||
"requestCompanyAccount": {
|
||||
"title": "Company details"
|
||||
},
|
||||
"updateConsentSuccess": "Consent successfully updated",
|
||||
"updateConsentError": "Encountered an error. Please try again",
|
||||
"updateConsentLoading": "Updating consent...",
|
||||
"consentToAnonymizedCompanyData": {
|
||||
"label": "Consent to be included in employer statistics",
|
||||
"description": "Consent to be included in anonymized company statistics"
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -130,5 +130,18 @@
|
||||
"successTitle": "Tere, {{firstName}} {{lastName}}",
|
||||
"successDescription": "Teie tervisekonto on aktiveeritud ja kasutamiseks valmis!",
|
||||
"successButton": "Jätka"
|
||||
},
|
||||
"consentModal": {
|
||||
"title": "Enne toimetama hakkamist",
|
||||
"description": "Kas annad nõusoleku, et sinu terviseandmeid kasutatakse anonüümselt tööandja statistikas? Andmed jäävad isikustamata ja aitavad ettevõttel töötajate tervist paremini toetada.",
|
||||
"reject": "Ei anna nõusolekut",
|
||||
"accept": "Annan nõusoleku"
|
||||
},
|
||||
"updateConsentSuccess": "Nõusolekud uuendatud",
|
||||
"updateConsentError": "Midagi läks valesti. Palun proovi uuesti",
|
||||
"updateConsentLoading": "Nõusolekuid uuendatakse...",
|
||||
"consentToAnonymizedCompanyData": {
|
||||
"label": "Nõustun osalema tööandja statistikas",
|
||||
"description": "Nõustun anonümiseeritud kujul terviseandmete kasutamisega tööandja statistikas"
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -112,5 +112,12 @@
|
||||
"noTeamsYet": "You don't have any teams yet.",
|
||||
"createTeam": "Create a team to get started.",
|
||||
"createTeamButtonLabel": "Create a Team",
|
||||
"createCompanyAccount": "Create Company Account"
|
||||
}
|
||||
"createCompanyAccount": "Create Company Account",
|
||||
"updateConsentSuccess": "Consent successfully updated",
|
||||
"updateConsentError": "Encountered an error. Please try again",
|
||||
"updateConsentLoading": "Updating consent...",
|
||||
"consentToAnonymizedCompanyData": {
|
||||
"label": "Consent to be included in employer statistics",
|
||||
"description": "Consent to be included in anonymized company statistics"
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user