- @if (motion.reason) {
+ @if (showReason) {
{{ 'Reason' | translate }}
diff --git a/client/src/app/site/pages/meetings/pages/motions/pages/motion-detail/pages/motion-view/components/motion-content/motion-content.component.ts b/client/src/app/site/pages/meetings/pages/motions/pages/motion-detail/pages/motion-view/components/motion-content/motion-content.component.ts
index ee17a34d5e..ef7a0d8150 100644
--- a/client/src/app/site/pages/meetings/pages/motions/pages/motion-detail/pages/motion-view/components/motion-content/motion-content.component.ts
+++ b/client/src/app/site/pages/meetings/pages/motions/pages/motion-detail/pages/motion-view/components/motion-content/motion-content.component.ts
@@ -73,6 +73,10 @@ export class MotionContentComponent extends BaseMotionDetailChildComponent {
return this.motion.showPreamble;
}
+ public get showReason(): boolean {
+ return !!this.motion.reason?.replace(/
/, ``).replace(/<\/p>/, ``).trim();
+ }
+
public get canChangeMetadata(): boolean {
return this.perms.isAllowed(`change_metadata`, this.motion);
}
diff --git a/client/src/app/site/pages/meetings/pages/motions/pages/motion-detail/pages/motion-view/components/motion-manage-title/motion-manage-title.component.html b/client/src/app/site/pages/meetings/pages/motions/pages/motion-detail/pages/motion-view/components/motion-manage-title/motion-manage-title.component.html
index ee6d55df7e..68330239c0 100644
--- a/client/src/app/site/pages/meetings/pages/motions/pages/motion-detail/pages/motion-view/components/motion-manage-title/motion-manage-title.component.html
+++ b/client/src/app/site/pages/meetings/pages/motions/pages/motion-detail/pages/motion-view/components/motion-manage-title/motion-manage-title.component.html
@@ -26,6 +26,7 @@
class="primary-accent-by-theme"
mat-icon-button
matTooltipPosition="right"
+ [hidden]="publicAccess"
matTooltip="{{ 'Mark as personal favorite' | translate }}"
(click)="setFavorite(!isFavorite)"
>
diff --git a/client/src/app/site/pages/meetings/pages/motions/pages/motion-detail/pages/motion-view/components/motion-manage-title/motion-manage-title.component.ts b/client/src/app/site/pages/meetings/pages/motions/pages/motion-detail/pages/motion-view/components/motion-manage-title/motion-manage-title.component.ts
index ab5cbe55cb..d84f844229 100644
--- a/client/src/app/site/pages/meetings/pages/motions/pages/motion-detail/pages/motion-view/components/motion-manage-title/motion-manage-title.component.ts
+++ b/client/src/app/site/pages/meetings/pages/motions/pages/motion-detail/pages/motion-view/components/motion-manage-title/motion-manage-title.component.ts
@@ -31,6 +31,9 @@ export class MotionManageTitleComponent extends BaseMotionDetailChildComponent {
return this._changeRecoMode;
}
+ @Input()
+ public publicAccess: boolean;
+
@Output()
public updateCrMode = new EventEmitter();
diff --git a/client/src/app/site/pages/meetings/pages/motions/pages/motion-detail/pages/motion-view/components/motion-view/motion-view.component.html b/client/src/app/site/pages/meetings/pages/motions/pages/motion-detail/pages/motion-view/components/motion-view/motion-view.component.html
index 17c53385cd..15da866340 100644
--- a/client/src/app/site/pages/meetings/pages/motions/pages/motion-detail/pages/motion-view/components/motion-view/motion-view.component.html
+++ b/client/src/app/site/pages/meetings/pages/motions/pages/motion-detail/pages/motion-view/components/motion-view/motion-view.component.html
@@ -140,6 +140,7 @@
diff --git a/client/src/app/site/pages/meetings/pages/participants/pages/participant-detail/components/participant-detail-view/participant-detail-view.component.html b/client/src/app/site/pages/meetings/pages/participants/pages/participant-detail/components/participant-detail-view/participant-detail-view.component.html
index 5fba5509bb..0442a70c00 100644
--- a/client/src/app/site/pages/meetings/pages/participants/pages/participant-detail/components/participant-detail-view/participant-detail-view.component.html
+++ b/client/src/app/site/pages/meetings/pages/participants/pages/participant-detail/components/participant-detail-view/participant-detail-view.component.html
@@ -279,8 +279,7 @@
{{ 'Voting right delegated to (proxy)' | translate }}
@if (showVoteDelegations && user!.vote_delegations_from().length > 0) {
- {{ 'Voting right received from ' | translate }}{{ user!.vote_delegations_from().length
- }}{{ ' principals' | translate }}
+ {{ 'Principals' | translate }}
{{ 'Comment' | translate }}
@if (isAllowed('seeSensitiveData')) {
- {{ user!.isLockedOutOfMeeting() ? 'visibility_off' : 'check_box_outline_blank' }}
+ {{ user!.isLockedOutOfMeeting() ? 'visibility_off' : '' }}
- {{ (user?.isLockedOutOfMeeting() ? 'Is locked out' : 'Is not locked out') | translate }}
+ {{ (user?.isLockedOutOfMeeting() ? 'Is locked out' : '') | translate }}
}
diff --git a/client/src/app/site/pages/meetings/pages/participants/pages/participant-list/components/participant-list/participant-list.component.html b/client/src/app/site/pages/meetings/pages/participants/pages/participant-list/components/participant-list/participant-list.component.html
index d57e472f28..af39fed402 100644
--- a/client/src/app/site/pages/meetings/pages/participants/pages/participant-list/components/participant-list/participant-list.component.html
+++ b/client/src/app/site/pages/meetings/pages/participants/pages/participant-list/components/participant-list/participant-list.component.html
@@ -80,7 +80,7 @@
{{ 'Participants' | translate }}
@if (isInPolldefaultGroup(user)) {
{{ 'Vote weight' | translate }}: {{ user.vote_weight() }}
@if (user.hasVoteRightFromOthers()) {
- + {{ sumOfDelegatedVoteWeight(user) }} {{ ' from delegated votes' | translate }}
+ + {{ sumOfDelegatedVoteWeight(user) }} {{ 'from delegated votes' | translate }}
}
}
diff --git a/client/src/app/site/pages/meetings/pages/participants/participants.subscription.ts b/client/src/app/site/pages/meetings/pages/participants/participants.subscription.ts
index 66709e2d1d..e27715331f 100644
--- a/client/src/app/site/pages/meetings/pages/participants/participants.subscription.ts
+++ b/client/src/app/site/pages/meetings/pages/participants/participants.subscription.ts
@@ -37,8 +37,8 @@ export const getParticipantVoteInfoSubscriptionConfig: SubscriptionConfigGenerat
},
{
idField: `vote_delegated_to_id`,
- follow: [{ idField: `user_id`, fieldset: [`is_present_in_meeting_ids`] }],
- fieldset: [`meeting_id`]
+ fieldset: [`meeting_id`],
+ follow: [{ idField: `user_id`, fieldset: [`is_present_in_meeting_ids`] }]
}
]
}
diff --git a/client/src/app/site/pages/meetings/pages/projectors/projectors.subscription.ts b/client/src/app/site/pages/meetings/pages/projectors/projectors.subscription.ts
index b7a3917aed..7de8451119 100644
--- a/client/src/app/site/pages/meetings/pages/projectors/projectors.subscription.ts
+++ b/client/src/app/site/pages/meetings/pages/projectors/projectors.subscription.ts
@@ -24,6 +24,7 @@ export const getProjectorListSubscriptionConfig: SubscriptionConfigGenerator = (
modelRequest: {
viewModelCtor: ViewMeeting,
ids: [id],
+ additionalFields: [`reference_projector_id`],
follow: [
{
idField: `projector_ids`,
@@ -61,14 +62,13 @@ export const getProjectorListSubscriptionConfig: SubscriptionConfigGenerator = (
}
]
},
- `projector_countdown_ids`,
- `projector_message_ids`,
- ...MEETING_DEFAULT_PROJECTOR_IDS_KEYS,
+ { idField: `projector_countdown_ids` },
+ { idField: `projector_message_ids` },
{ idField: `speaker_ids`, additionalFields: [`meeting_user_id`] },
- `list_of_speakers_ids`,
- { idField: `agenda_item_ids`, fieldset: [`item_number`, `content_object_id`] }
- ],
- additionalFields: [`reference_projector_id`]
+ { idField: `list_of_speakers_ids` },
+ { idField: `agenda_item_ids`, fieldset: [`item_number`, `content_object_id`] },
+ ...MEETING_DEFAULT_PROJECTOR_IDS_KEYS
+ ]
},
subscriptionName: PROJECTOR_LIST_SUBSCRIPTION
});
diff --git a/client/src/app/site/pages/meetings/services/active-meeting.subscription.ts b/client/src/app/site/pages/meetings/services/active-meeting.subscription.ts
index f367190409..e9b6321a0b 100644
--- a/client/src/app/site/pages/meetings/services/active-meeting.subscription.ts
+++ b/client/src/app/site/pages/meetings/services/active-meeting.subscription.ts
@@ -54,14 +54,14 @@ export function getActiveMeetingSubscriptionConfig(id: Id, settingsKeys: string[
}, // TODO: Remove and count unread messages by chat_group_ids/chat_message_ids
{
idField: `poll_ids`,
+ fieldset: [`title`, `state`, `entitled_group_ids`],
follow: [
{
idField: `content_object_id`,
fieldset: [`title`],
follow: [{ idField: `agenda_item_id`, fieldset: [`item_number`, `content_object_id`] }]
}
- ],
- fieldset: [`title`, `state`, `entitled_group_ids`]
+ ]
},
{
idField: `point_of_order_category_ids`,
diff --git a/client/src/app/site/pages/meetings/services/meeting-settings-definition.service/meeting-settings-definitions.ts b/client/src/app/site/pages/meetings/services/meeting-settings-definition.service/meeting-settings-definitions.ts
index b19ee5ef25..d5fdb3775f 100644
--- a/client/src/app/site/pages/meetings/services/meeting-settings-definition.service/meeting-settings-definitions.ts
+++ b/client/src/app/site/pages/meetings/services/meeting-settings-definition.service/meeting-settings-definitions.ts
@@ -60,6 +60,7 @@ export interface SettingsInput