diff --git a/components/Groups/UniversityGroup.tsx b/components/Groups/UniversityGroup.tsx index c67a6c03..b5c9665b 100644 --- a/components/Groups/UniversityGroup.tsx +++ b/components/Groups/UniversityGroup.tsx @@ -64,6 +64,15 @@ const AdditionalGroup = (props: Props) => { bgColor={theme.palette.neutralLight} className="m-1" /> + {group.user_count && } " + description} /> diff --git a/services/LocalizationService.ts b/services/LocalizationService.ts index f6edf0fe..a54e0eed 100644 --- a/services/LocalizationService.ts +++ b/services/LocalizationService.ts @@ -299,7 +299,7 @@ class LocalizationService { universityGroups: { label: `Gruppi universitari`, title: "Unisciti ai nostri gruppi universitari", - description: "Parla e discuti con altri studenti riguardo tutti i topic di cui hai bisogno", + description: "Parla e discuti con altri studenti riguardo tutti i topic di cui hai bisogno.", description2: "Pensi manchi qualche gruppo in particolare?", card: { type: 'Gruppo universitario' @@ -307,7 +307,7 @@ class LocalizationService { }, announcementsGroups: { label: `Gruppi per gli annunci`, - title: "Posta un annuncio sui nostri gruppi appositi", + title: "Posta un annuncio sui nostri gruppi appositi.", description: "Abbiamo creato dei gruppi dedicati esclusivamente alla pubblicazione di annunci sia di ricerca che di offerta, come ad esempio per i libri ed appunti e le ripetizioni.", description2: `Per postare un annuncio segui il template che trovi nei messaggi fissati quando entri.`, card: { @@ -697,7 +697,7 @@ class LocalizationService { universityGroups: { label: `University groups`, title: "Join the university groups of our Network", - description: "Talk and discuss with other students about all the topics you need", + description: "Talk and discuss with other students about all the topics you need.", description2: "Do you think any particular group is missing?", card: { type: 'University group' @@ -705,7 +705,7 @@ class LocalizationService { }, announcementsGroups: { label: `Announcements groups`, - title: "Post an ad on our dedicated groups", + title: "Post an ad on our dedicated groups.", description: "We have created groups dedicated exclusively to posting both want and offer ads, such as for books and notes and private lessons.", description2: `To post an ad follow the template that you can find in the pinned messages set when you enter.`, card: { diff --git a/services/Requests.ts b/services/Requests.ts index 215fa846..ad83d61c 100644 --- a/services/Requests.ts +++ b/services/Requests.ts @@ -36,7 +36,7 @@ const representativesEndpoint = '/representatives'; const typingDegreesEndpoint = '/typing-degrees'; const searchDegreesEndpoint = '/search-degrees'; const adminsEndpoint = '/admins'; -const extraGroupsEndpoint = '/extra-groups'; +const featuredGroupsEndpoint = '/featured-groups'; /* Main class to build response */ class Result @@ -150,7 +150,7 @@ export async function getDegreeAdmins(degreeSlug: string): Promise> { - return getAsync(`${apiEndpoint}${extraGroupsEndpoint}`); + return getAsync(`${apiEndpoint}${featuredGroupsEndpoint}`); };