Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion locales/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,8 @@
"washers": "Number of available washers",
"dryers": "Number of available dryers",
"schooling": "Easy access to all your documents and results.",
"sosinfra": "Report issues within a building"
"sosinfra": "Report issues within a building",
"map": "Find your way around INSA"
},
"titles": {
"yearlyPlanning": "Yearly planning"
Expand Down
3 changes: 2 additions & 1 deletion locales/es.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,8 @@
"ent": "Mira tus notas",
"equipment": "Reserva un BBQ u otro material",
"washers": "Número de lavadoras disponibles",
"dryers": "Número de secadoras disponibles"
"dryers": "Número de secadoras disponibles",
"map": "¡Ubícate en el INSA!"
},
"mascotDialog": {
"title": "Un poco perdido?",
Expand Down
3 changes: 2 additions & 1 deletion locales/fr.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,8 @@
"washers": "Nombre de lave-Linges disponibles",
"dryers": "Nombre de sèche-Linges disponibles",
"schooling": "Accéde facilement à tous tes documents et résultats.",
"sosinfra": "Signale un problème dans un bâtiment"
"sosinfra": "Signale un problème dans un bâtiment",
"map": "Repère toi dans l'INSA"
},
"titles": {
"yearlyPlanning": "Planning de l'année"
Expand Down
3 changes: 2 additions & 1 deletion locales/it.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,8 @@
"ent": "Trova i tuoi voti",
"equipment": "Prenota un BBQ o altro materiale",
"washers": "Numero di lavatrici disponibili",
"dryers": "Numero di asciugatrici disponibili"
"dryers": "Numero di asciugatrici disponibili",
"map": "Orientati all'INSA"
},
"mascotDialog": {
"title": "Un po' perso?",
Expand Down
9 changes: 8 additions & 1 deletion src/constants/Urls.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,12 @@ export default {
usefulLinks: APP_IMAGES_ENDPOINT + 'UsefulLinks.png',
schooling: APP_IMAGES_ENDPOINT + 'Schooling.png',
sosinfra: APP_IMAGES_ENDPOINT + 'SOSInfra.png',

map: 'https://sh.veagle.fr/api/shares/map-insat/files/a9181c31-f72e-40f0-a693-26fa5e4067ed?download=false',
// !!!!! WARNING FOR REVIEWER !!!!!!!!
// TODO : upload Map.png to the student server
// map: APP_IMAGES_ENDPOINT + 'Map.png',
// Download the png at https://sh.veagle.fr/s/map-insat
},
websites: {
amicale: AMICALE_SERVER,
Expand All @@ -95,7 +101,8 @@ export default {
yearlyPlanning:
'https://wiki.etud.insa-toulouse.fr/books/quotidien/page/planning-de-lannee-en-cours',
schooling: 'https://mascolarite.insa-toulouse.fr/',
sosInfra: 'https://sosinfra.insa-toulouse.fr/',
sosInfra: 'http://sosinfra.insa-toulouse.fr/',
map: STUDENT_SERVER + '~map/',
},
about: {
appstore: 'https://apps.apple.com/us/app/campus-amicale-insat/id1477722148',
Expand Down
12 changes: 12 additions & 0 deletions src/utils/Services.ts
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,7 @@ export const SERVICES_KEY = {
DRYERS: 'dryers',
SCHOOLING: 'schooling',
SOS_INFRA: 'sosinfra',
MAP: 'map',
};

export const SERVICES_CATEGORIES_KEY = {
Expand Down Expand Up @@ -221,6 +222,17 @@ export function getStudentServices(
title: "Planning de l'année",
}),
},
{
key: SERVICES_KEY.MAP,
title: 'Map INSA',
subtitle: i18n.t('screens.services.descriptions.map'),
image: Urls.images.map,
onPress: () =>
onPress(MainRoutes.Website, {
host: Urls.websites.map,
title: 'Map INSA',
}),
},
];
return getStrippedServicesList(studentsDataset, excludedItems);
}
Expand Down
Loading