diff --git a/js/src/components/Event/SkeletonEventResultList.vue b/js/src/components/Event/SkeletonEventResultList.vue
new file mode 100644
index 000000000..ce795a14a
--- /dev/null
+++ b/js/src/components/Event/SkeletonEventResultList.vue
@@ -0,0 +1,20 @@
+
+
+
diff --git a/js/src/components/Group/SkeletonGroupResultList.vue b/js/src/components/Group/SkeletonGroupResultList.vue
new file mode 100644
index 000000000..4749ff3aa
--- /dev/null
+++ b/js/src/components/Group/SkeletonGroupResultList.vue
@@ -0,0 +1,16 @@
+
+
+
diff --git a/js/src/i18n/en_US.json b/js/src/i18n/en_US.json
index 5bdd4c5ba..e8671ce43 100644
--- a/js/src/i18n/en_US.json
+++ b/js/src/i18n/en_US.json
@@ -1425,5 +1425,15 @@
"Message body": "Message body",
"Describe your event": "Describe your event",
"A few lines about your group": "A few lines about your group",
- "Write your post": "Write your post"
+ "Write your post": "Write your post",
+ "Suggestions:": "Suggestions:",
+ "Make sure that all words are spelled correctly.": "Make sure that all words are spelled correctly.",
+ "Try different keywords.": "Try different keywords.",
+ "Try more general keywords.": "Try more general keywords.",
+ "Try fewer keywords.": "Try fewer keywords.",
+ "Change the filters.": "Change the filters.",
+ "No results found for {search}": "No results found for {search}",
+ "No events found for {search}": "No events found for {search}",
+ "No groups found for {search}": "No groups found for {search}",
+ "No event found at this address": "No event found at this address"
}
\ No newline at end of file
diff --git a/js/src/i18n/fr_FR.json b/js/src/i18n/fr_FR.json
index e0baf2e3e..02f50b558 100644
--- a/js/src/i18n/fr_FR.json
+++ b/js/src/i18n/fr_FR.json
@@ -1423,5 +1423,15 @@
"Message body": "Corps du message",
"Describe your event": "Décrivez votre événement",
"A few lines about your group": "Quelques lignes à propos de votre groupe",
- "Write your post": "Écrivez votre billet"
+ "Write your post": "Écrivez votre billet",
+ "Suggestions:": "Suggestions :",
+ "Make sure that all words are spelled correctly.": "Vérifiez l’orthographe des termes de recherche.",
+ "Try different keywords.": "Essayez d'autres mots.",
+ "Try more general keywords.": "Utilisez des mots clés plus généraux.",
+ "Try fewer keywords.": "Spécifiez un moins grand nombre de mots-clés.",
+ "Change the filters.": "Changez les filtres.",
+ "No results found for {search}": "Aucun résultat trouvé pour {search}",
+ "No events found for {search}": "Aucun événement trouvé pour {search}",
+ "No groups found for {search}": "Aucun groupe trouvé pour {search}",
+ "No event found at this address": "Aucun événement trouvé à cette addresse"
}
diff --git a/js/src/views/SearchView.vue b/js/src/views/SearchView.vue
index 52808e904..61354e8df 100644
--- a/js/src/views/SearchView.vue
+++ b/js/src/views/SearchView.vue
@@ -500,11 +500,16 @@
+
+
+
+
{{ t("Groups are not enabled on this instance.") }}
-
- {{ t("No groups found") }}
-
-
- {{ t("No events found") }}
-
+
+
+ {{ t("No event found at this address") }}
+
+
+ {{ t("No results found") }}
+
+
+
+ {{ search }}
+
+
+
{{
t(
"Only registered users may fetch remote events from their URL."
)
}}
-
-
+
+
+
+ {{ t("Suggestions:") }}
+
+
+ -
+ {{ t("Make sure that all words are spelled correctly.") }}
+
+ - {{ t("Try different keywords.") }}
+ - {{ t("Try more general keywords.") }}
+ - {{ t("Try fewer keywords.") }}
+ - {{ t("Change the filters.") }}
+
+
+
+
+
+
-
- {{ t("No events found") }}
-
+
+
+ {{ t("No event found at this address") }}
+
+
+ {{ t("No events found") }}
+
+
+
+ {{ search }}
+
+
+
{{
t(
"Only registered users may fetch remote events from their URL."
)
}}
-
-
+
+
+
+ {{ t("Suggestions:") }}
+
+
+ -
+ {{ t("Make sure that all words are spelled correctly.") }}
+
+ - {{ t("Try different keywords.") }}
+ - {{ t("Try more general keywords.") }}
+ - {{ t("Try fewer keywords.") }}
+ - {{ t("Change the filters.") }}
+
+
+
{{ t("Groups are not enabled on this instance.") }}
-
+
+
+
-
- {{ t("No groups found") }}
-
+
+
+ {{ t("No events found") }}
+
+
+
+ {{ search }}
+
+
+
+
+ {{ t("Suggestions:") }}
+
+
+ -
+ {{ t("Make sure that all words are spelled correctly.") }}
+
+ - {{ t("Try different keywords.") }}
+ - {{ t("Try more general keywords.") }}
+ - {{ t("Try fewer keywords.") }}
+ - {{ t("Change the filters.") }}
+
+
+
import("@/components/Search/EventMarkerMap.vue")
@@ -764,6 +847,10 @@ const arrayTransformer: RouteQueryTransformer = {
},
};
+const props = defineProps<{
+ tag?: string;
+}>();
+
const page = useRouteQuery("page", 1, integerTransformer);
const eventPage = useRouteQuery("eventPage", 1, integerTransformer);
const groupPage = useRouteQuery("groupPage", 1, integerTransformer);
@@ -775,7 +862,7 @@ const distance = useRouteQuery("distance", "10_km");
const when = useRouteQuery("when", "any");
const contentType = useRouteQuery(
"contentType",
- ContentType.ALL,
+ props.tag ? ContentType.EVENTS : ContentType.ALL,
enumTransformer(ContentType)
);
@@ -819,10 +906,6 @@ const EVENT_PAGE_LIMIT = 16;
const GROUP_PAGE_LIMIT = 16;
-const props = defineProps<{
- tag?: string;
-}>();
-
const { features } = useFeatures();
const { eventCategories } = useEventCategories();