change group views to add new parameters - #687

This commit is contained in:
Laurent GAY
2025-11-12 13:12:56 +01:00
committed by setop
parent 3cdfc76aff
commit 7b6c06d233
9 changed files with 86 additions and 11 deletions

View File

@@ -198,6 +198,16 @@
{{ t("Manually approve new followers") }}
</o-checkbox>
</fieldset>
<fieldset>
<legend class="mt-2">
<span class="field-label !mb-0">
{{ t("Permission") }}
</span>
</legend>
<o-checkbox v-model="group.allowSeeParticipants">
{{ t("Members can see events' participants") }}
</o-checkbox>
</fieldset>
<o-button
variant="primary"
@@ -297,6 +307,7 @@ const buildVariables = computed(() => {
visibility: group.value.visibility,
openness: group.value.openness,
manuallyApprovesFollowers: group.value.manuallyApprovesFollowers,
allowSeeParticipants: group.value.allowSeeParticipants,
};
if (cloneGroup.physicalAddress?.id || cloneGroup.physicalAddress?.geom) {

View File

@@ -157,6 +157,12 @@
</o-checkbox>
</o-field>
<o-field :label="t('Permission')">
<o-checkbox v-model="editableGroup.allowSeeParticipants">
{{ t("Members can see events' participants") }}
</o-checkbox>
</o-field>
<full-address-auto-complete
:label="t('Group address')"
v-model="currentAddress"
@@ -340,6 +346,7 @@ const buildVariables = computed(() => {
visibility: editableGroup.value?.visibility,
openness: editableGroup.value?.openness,
manuallyApprovesFollowers: editableGroup.value?.manuallyApprovesFollowers,
allowSeeParticipants: editableGroup.value?.allowSeeParticipants,
physicalAddress,
...avatarObj,
...bannerObj,