Issue #1546 Change block order
This commit is contained in:
parent
ae02e28129
commit
02687e68bb
|
@ -373,31 +373,7 @@
|
|||
</div>
|
||||
</header>
|
||||
</div>
|
||||
<div v-if="group">
|
||||
<div class="grid grid-cols-1 md:grid-cols-2 gap-2 mb-2">
|
||||
<!-- Private thing: Group discussions -->
|
||||
<Discussions
|
||||
v-if="isCurrentActorAGroupMember && !previewPublic"
|
||||
:group="discussionGroup ?? group"
|
||||
/>
|
||||
<!-- Private thing: Resources -->
|
||||
<Resources
|
||||
v-if="isCurrentActorAGroupMember && !previewPublic"
|
||||
:group="resourcesGroup ?? group"
|
||||
/>
|
||||
<!-- Public thing: Events -->
|
||||
<Events
|
||||
:group="group"
|
||||
:isModerator="isCurrentActorAGroupModerator && !previewPublic"
|
||||
/>
|
||||
<!-- Public thing: Posts -->
|
||||
<Posts
|
||||
:group="group"
|
||||
:isModerator="isCurrentActorAGroupModerator && !previewPublic"
|
||||
:isMember="isCurrentActorAGroupMember && !previewPublic"
|
||||
/>
|
||||
</div>
|
||||
<div class="grid grid-cols-1 md:grid-cols-3 gap-2">
|
||||
<div class="grid grid-cols-1 md:grid-cols-3 gap-2 mb-2">
|
||||
<!-- Public thing: Members -->
|
||||
<group-section :title="t('Members')" icon="account-group">
|
||||
<template #default>
|
||||
|
@ -544,6 +520,30 @@
|
|||
</template>
|
||||
</group-section>
|
||||
</div>
|
||||
<div v-if="group">
|
||||
<div class="grid grid-cols-1 md:grid-cols-2 gap-2 mb-2">
|
||||
<!-- Public thing: Events -->
|
||||
<Events
|
||||
:group="group"
|
||||
:isModerator="isCurrentActorAGroupModerator && !previewPublic"
|
||||
/>
|
||||
<!-- Public thing: Posts -->
|
||||
<Posts
|
||||
:group="group"
|
||||
:isModerator="isCurrentActorAGroupModerator && !previewPublic"
|
||||
:isMember="isCurrentActorAGroupMember && !previewPublic"
|
||||
/>
|
||||
<!-- Private thing: Group discussions -->
|
||||
<Discussions
|
||||
v-if="isCurrentActorAGroupMember && !previewPublic"
|
||||
:group="discussionGroup ?? group"
|
||||
/>
|
||||
<!-- Private thing: Resources -->
|
||||
<Resources
|
||||
v-if="isCurrentActorAGroupMember && !previewPublic"
|
||||
:group="resourcesGroup ?? group"
|
||||
/>
|
||||
</div>
|
||||
</div>
|
||||
<div class="my-2">
|
||||
<template v-if="isCurrentActorFollowing">
|
||||
|
|
Loading…
Reference in a new issue