From 1b7729134243b811475aedc33fd8fc8743a56a39 Mon Sep 17 00:00:00 2001 From: luisa-beerboom <101706784+luisa-beerboom@users.noreply.github.com> Date: Thu, 12 Dec 2024 14:50:37 +0100 Subject: [PATCH] Enhance anonymized nominal polls (#4460) --- client/src/app/domain/models/poll/poll.ts | 2 ++ .../poll-repository.service/poll-repository.service.ts | 3 ++- .../assignment-poll-detail.component.html | 2 +- .../motion-poll-detail/motion-poll-detail.component.html | 2 +- .../pages/meetings/pages/polls/view-models/view-poll.ts | 8 +++++++- 5 files changed, 13 insertions(+), 4 deletions(-) diff --git a/client/src/app/domain/models/poll/poll.ts b/client/src/app/domain/models/poll/poll.ts index 99d89c8a59..e283416620 100644 --- a/client/src/app/domain/models/poll/poll.ts +++ b/client/src/app/domain/models/poll/poll.ts @@ -52,6 +52,7 @@ export class Poll extends BaseDecimalModel { public global_no!: boolean; public global_abstain!: boolean; public entitled_users_at_stop!: EntitledUsersEntry[]; + public is_pseudoanonymized!: boolean; public get isCreated(): boolean { return this.state === PollState.Created; @@ -154,6 +155,7 @@ export class Poll extends BaseDecimalModel { `title`, `type`, `backend`, + `is_pseudoanonymized`, `pollmethod`, `state`, `min_votes_amount`, diff --git a/client/src/app/gateways/repositories/polls/poll-repository.service/poll-repository.service.ts b/client/src/app/gateways/repositories/polls/poll-repository.service/poll-repository.service.ts index 84e497cf3a..860cffa62d 100644 --- a/client/src/app/gateways/repositories/polls/poll-repository.service/poll-repository.service.ts +++ b/client/src/app/gateways/repositories/polls/poll-repository.service/poll-repository.service.ts @@ -51,7 +51,8 @@ export class PollRepositoryService extends BaseMeetingRelatedRepository{{ poll.title }} {{ 'Edit' | translate }}