diff --git a/js/src/composition/apollo/actor.ts b/js/src/composition/apollo/actor.ts
index 3cd38118..3fe3be7f 100644
--- a/js/src/composition/apollo/actor.ts
+++ b/js/src/composition/apollo/actor.ts
@@ -4,10 +4,9 @@ import {
IDENTITIES,
PERSON_STATUS_GROUP,
} from "@/graphql/actor";
-import { IGroup, IPerson, usernameWithDomain } from "@/types/actor";
+import { IPerson } from "@/types/actor";
import { useQuery } from "@vue/apollo-composable";
-import { group } from "console";
-import { computed, ref, Ref, unref } from "vue";
+import { computed, Ref, unref } from "vue";
import { useCurrentUserClient } from "./user";
export function useCurrentActorClient() {
diff --git a/js/src/histoire.setup.ts b/js/src/histoire.setup.ts
index f2fe6b05..b9757b41 100644
--- a/js/src/histoire.setup.ts
+++ b/js/src/histoire.setup.ts
@@ -4,6 +4,7 @@ import { i18n } from "./utils/i18n";
import Oruga from "@oruga-ui/oruga-next";
import "@oruga-ui/oruga-next/dist/oruga-full-vars.css";
import "./assets/tailwind.css";
+import "./assets/oruga-tailwindcss.css";
import locale from "date-fns/locale/en-US";
import MaterialIcon from "./components/core/MaterialIcon.vue";
diff --git a/js/src/i18n/en_US.json b/js/src/i18n/en_US.json
index 859f1d01..92638ed1 100644
--- a/js/src/i18n/en_US.json
+++ b/js/src/i18n/en_US.json
@@ -1359,5 +1359,11 @@
"Published events with {comments} comments and {participations} confirmed participations": "Published events with {comments} comments and {participations} confirmed participations",
"Ex: someone{'@'}mobilizon.org": "Ex: someone{'@'}mobilizon.org",
"Group members": "Group members",
- "e.g. Nantes, Berlin, Cork, …": "e.g. Nantes, Berlin, Cork, …"
+ "e.g. Nantes, Berlin, Cork, …": "e.g. Nantes, Berlin, Cork, …",
+ "find, create and organise events": "find, create and organise events",
+ "tool designed to serve you": "tool designed to serve you",
+ "multitude of interconnected Mobilizon websites": "multitude of interconnected Mobilizon websites",
+ "Mobilizon is a tool that helps you {find_create_organize_events}.": "Mobilizon is a tool that helps you {find_create_organize_events}.",
+ "Ethical alternative to Facebook events, groups and pages, Mobilizon is a {tool_designed_to_serve_you}. Period.": "Ethical alternative to Facebook events, groups and pages, Mobilizon is a {tool_designed_to_serve_you}. Period.",
+ "Mobilizon is not a giant platform, but a {multitude_of_interconnected_mobilizon_websites}.": "Mobilizon is not a giant platform, but a {multitude_of_interconnected_mobilizon_websites}."
}
\ No newline at end of file
diff --git a/js/src/i18n/fr_FR.json b/js/src/i18n/fr_FR.json
index f022d27a..4869c5a1 100644
--- a/js/src/i18n/fr_FR.json
+++ b/js/src/i18n/fr_FR.json
@@ -1345,5 +1345,11 @@
"Open user menu": "Ouvrir le menu utilisateur",
"Open main menu": "Ouvrir le menu principal",
"This is like your federated username ({username}) for groups. It will allow the group to be found on the federation, and is guaranteed to be unique.": "C'est comme votre adresse fédérée ({username}) pour les groupes. Cela permettra au groupe d'être trouvable sur la fédération, et est garanti d'être unique.",
- "Published events with {comments} comments and {participations} confirmed participations": "Événements publiés avec {comments} commentaires et {participations} participations confirmées"
+ "Published events with {comments} comments and {participations} confirmed participations": "Événements publiés avec {comments} commentaires et {participations} participations confirmées",
+ "find, create and organise events": "trouver, créer et organiser des événements",
+ "tool designed to serve you": "outil conçu pour vous servir",
+ "multitude of interconnected Mobilizon websites": "multitude de sites web Mobilizon interconnectés",
+ "Mobilizon is a tool that helps you {find_create_organize_events}.": "Mobilizon est un outil qui vous permet de {find_create_organize_events}.",
+ "Ethical alternative to Facebook events, groups and pages, Mobilizon is a {tool_designed_to_serve_you}. Period.": "Alternative éthique aux événements, groupes et pages Facebook, Mobilizon est un {tool_designed_to_serve_you}. Point.",
+ "Mobilizon is not a giant platform, but a {multitude_of_interconnected_mobilizon_websites}.": "Mobilizon n’est pas une plateforme géante, mais une {multitude_of_interconnected_mobilizon_websites}."
}
diff --git a/js/src/oruga-config.ts b/js/src/oruga-config.ts
index a4663665..59b6c867 100644
--- a/js/src/oruga-config.ts
+++ b/js/src/oruga-config.ts
@@ -8,6 +8,7 @@ export const orugaConfig = {
roundedClass: "btn-rounded",
outlinedClass: "btn-outlined-",
disabledClass: "btn-disabled",
+ sizeClass: "btn-size-",
},
field: {
rootClass: "field",
diff --git a/js/src/utils/html.ts b/js/src/utils/html.ts
index ee6cea89..c47c06f2 100644
--- a/js/src/utils/html.ts
+++ b/js/src/utils/html.ts
@@ -1,3 +1,7 @@
export function nl2br(text: string): string {
return text.replace(/(?:\r\n|\r|\n)/g, "
");
}
+
+export function flattenHTMLParagraphs(html: string): string {
+ return html.replace("
", "
").replace(/\/p>/g, "");
+}
diff --git a/js/src/views/Event/Event.vue b/js/src/views/Event/Event.vue
index e94c8f8f..6c0c613d 100755
--- a/js/src/views/Event/Event.vue
+++ b/js/src/views/Event/Event.vue
@@ -65,7 +65,7 @@
-