change group views to add new parameters - #687
This commit is contained in:
@@ -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) {
|
||||
|
||||
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user