Skip to content

Commit 865ba61

Browse files
committed
Revert "Intial commit"
This reverts commit 00a1aa5.
1 parent 00a1aa5 commit 865ba61

File tree

6 files changed

+12
-12
lines changed

6 files changed

+12
-12
lines changed

app/components/cards/privacy-preference.hbs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,8 +35,8 @@
3535
Gegevens (naam, email, geboortedatum) mogen gedeeld worden met het
3636
streepsysteem
3737
</td>
38-
<td data-test-allow-sofia-sharing>
39-
{{boolean-tag @model.allowSofiaSharing}}
38+
<td data-test-allow-tomato-sharing>
39+
{{boolean-tag @model.allowTomatoSharing}}
4040
</td>
4141
</tr>
4242
<tr>

app/components/privacy-modal.hbs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -89,13 +89,13 @@
8989

9090
<div
9191
class='btn btn-primary'
92-
{{action 'select' 'allowSofiaSharing' true}}
92+
{{action 'select' 'allowTomatoSharing' true}}
9393
>
9494
Ja
9595
</div>
9696
<div
9797
class='btn btn-danger'
98-
{{action 'select' 'allowSofiaSharing' false}}
98+
{{action 'select' 'allowTomatoSharing' false}}
9999
>
100100
Nee
101101
</div>

app/components/privacy-modal.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ export default Component.extend({
6767
this._super(...arguments);
6868
if (
6969
this.model?.userDetailsSharingPreference === null ||
70-
this.model?.allowSofiaSharing === null
70+
this.model?.allowTomatoSharing === null
7171
) {
7272
this.set('isOpen', true);
7373
} else {

app/components/users/privacy-settings.hbs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,15 +25,15 @@
2525
<div class='col-2 col-sm-6'>
2626
<Input
2727
@type='checkbox'
28-
@checked={{@model.allowSofiaSharing}}
29-
disabled={{canChangeSofiaSettings}}
28+
@checked={{@model.allowTomatoSharing}}
29+
disabled={{canChangeTomatoSettings}}
3030
class='form-check-input'
3131
id="share-with-streep-check"
3232
/>
3333
</div>
3434
</div>
3535

36-
{{#if @model.allowSofiaSharing}}
36+
{{#if @model.allowTomatoSharing}}
3737
<div class='alert alert-info mb-5'>
3838
Het is alleen mogelijk deze instelling uit te zetten via het bestuur. Om
3939
dit te deactiveren moet uw saldo namelijk eerst 0 zijn.

app/components/users/privacy-settings.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -44,10 +44,10 @@ export default class PrivacySettingsComponent extends Component {
4444
return this.args.model === this.session.currentUser;
4545
}
4646

47-
get canChangeSofiaSettings() {
47+
get canChangeTomatoSettings() {
4848
return (
49-
!isPresent(this.args.model.changedAttributes().allowSofiaSharing) &&
50-
this.args.model.allowSofiaSharing
49+
!isPresent(this.args.model.changedAttributes().allowTomatoSharing) &&
50+
this.args.model.allowTomatoSharing
5151
);
5252
}
5353
}

app/models/user.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ export default class User extends Model {
3636
@attr picturePublicationPreference;
3737

3838
@attr ifesDataSharingPreference;
39-
@attr({ allowNull: true }) allowSofiaSharing;
39+
@attr({ allowNull: true }) allowTomatoSharing;
4040
@attr infoInAlmanak;
4141
@attr userDetailsSharingPreference;
4242
// Security properties

0 commit comments

Comments
 (0)