+
{{ $t("No resources yet") }}
@@ -230,7 +267,10 @@
}"
>
-
+
-
+
{{ $t("No public upcoming events") }}
@@ -266,9 +309,16 @@
>
-
+
@@ -292,14 +342,20 @@
{{ $t("About") }}
-
+
{{ $t("This group doesn't have a description yet.") }}
{{ $t("Upcoming events") }}
-
+
{{ $t("Latest posts") }}
-
+
+
-
+
import(/* webpackChunkName: "map" */ "../../components/Map.vue"),
+ "map-leaflet": () =>
+ import(/* webpackChunkName: "map" */ "../../components/Map.vue"),
},
metaInfo() {
return {
@@ -469,7 +537,8 @@ export default class Group extends mixins(GroupMixin) {
rejectInvitation({ id: memberId }: { id: string }): void {
const index = this.person.memberships.elements.findIndex(
- (membership) => membership.role === MemberRole.INVITED && membership.id === memberId
+ (membership) =>
+ membership.role === MemberRole.INVITED && membership.id === memberId
);
if (index > -1) {
this.person.memberships.elements.splice(index, 1);
@@ -492,11 +561,15 @@ export default class Group extends mixins(GroupMixin) {
forward,
},
});
- this.$notifier.success(this.$t("Group {groupTitle} reported", { groupTitle }) as string);
+ this.$notifier.success(
+ this.$t("Group {groupTitle} reported", { groupTitle }) as string
+ );
} catch (error) {
console.error(error);
this.$notifier.error(
- this.$t("Error while reporting group {groupTitle}", { groupTitle }) as string
+ this.$t("Error while reporting group {groupTitle}", {
+ groupTitle,
+ }) as string
);
}
}
@@ -513,7 +586,9 @@ export default class Group extends mixins(GroupMixin) {
get groupMember(): IMember | undefined {
if (!this.person || !this.person.id) return undefined;
- return this.person.memberships.elements.find(({ parent: { id } }) => id === this.group.id);
+ return this.person.memberships.elements.find(
+ ({ parent: { id } }) => id === this.group.id
+ );
}
get groupMemberships(): (string | undefined)[] {
@@ -521,9 +596,11 @@ export default class Group extends mixins(GroupMixin) {
return this.person.memberships.elements
.filter(
(membership: IMember) =>
- ![MemberRole.REJECTED, MemberRole.NOT_APPROVED, MemberRole.INVITED].includes(
- membership.role
- )
+ ![
+ MemberRole.REJECTED,
+ MemberRole.NOT_APPROVED,
+ MemberRole.INVITED,
+ ].includes(membership.role)
)
.map(({ parent: { id } }) => id);
}
@@ -535,7 +612,10 @@ export default class Group extends mixins(GroupMixin) {
}
get isCurrentActorAGroupMember(): boolean {
- return this.groupMemberships !== undefined && this.groupMemberships.includes(this.group.id);
+ return (
+ this.groupMemberships !== undefined &&
+ this.groupMemberships.includes(this.group.id)
+ );
}
get isCurrentActorARejectedGroupMember(): boolean {
@@ -573,7 +653,11 @@ export default class Group extends mixins(GroupMixin) {
get members(): IMember[] {
return this.group.members.elements.filter(
(member) =>
- ![MemberRole.INVITED, MemberRole.REJECTED, MemberRole.NOT_APPROVED].includes(member.role)
+ ![
+ MemberRole.INVITED,
+ MemberRole.REJECTED,
+ MemberRole.NOT_APPROVED,
+ ].includes(member.role)
);
}
@@ -584,7 +668,9 @@ export default class Group extends mixins(GroupMixin) {
get ableToReport(): boolean {
return (
- this.config && (this.currentActor.id !== undefined || this.config.anonymous.reports.allowed)
+ this.config &&
+ (this.currentActor.id !== undefined ||
+ this.config.anonymous.reports.allowed)
);
}
}
@@ -725,7 +811,8 @@ div.container {
.media-content {
h2 {
color: #3c376e;
- font-family: "Liberation Sans", "Helvetica Neue", Roboto, Helvetica, Arial, serif;
+ font-family: "Liberation Sans", "Helvetica Neue", Roboto,
+ Helvetica, Arial, serif;
font-size: 1.5rem;
font-weight: 700;
}
diff --git a/js/src/views/Group/GroupMembers.vue b/js/src/views/Group/GroupMembers.vue
index ec1974313..3c88a8e36 100644
--- a/js/src/views/Group/GroupMembers.vue
+++ b/js/src/views/Group/GroupMembers.vue
@@ -31,9 +31,16 @@
-