add_cof #23

Merged
sinavir merged 2 commits from refs/pull/23/head into master 2022-07-18 13:47:07 +02:00
2 changed files with 22 additions and 6 deletions
Showing only changes of commit b75e933e99 - Show all commits

BIN
public.tar.gz Normal file

Binary file not shown.

View file

@ -58,6 +58,21 @@ const calendars = {
name: 'Ernestophone',
color: null
},
QZGnSH8GNeDpqkXt: {
cloud: clouds.ELEVES_ENS,
name: 'COF - Évènements',
color: null
},
bCgRFByHLiCCNc55: {
cloud: clouds.ELEVES_ENS,
name: 'COF - AG',
color: null
},
r4yJZDHjwNtH8wkR: {
cloud: clouds.ELEVES_ENS,
name: 'BdA',
color: null
},
T5WoHbs4FT5A945Z: {
cloud: clouds.FRAMA_AGENDA,
name: 'CinéClub',
@ -82,6 +97,11 @@ export const initialCalendars = Array.from(
.map(cal => cal[0])
export const calendarTree = {
COF: {
BdA: {},
'COF - Évènements': {}
'COF - AG': {},
},
'Clubs COF': {
'Club réseau': {},
hackENS: {},
@ -90,13 +110,9 @@ export const calendarTree = {
Ernestophone: {},
'Club Inutile ☔': {}
},
COF: {
BDA: {},
AG: {}
},
BDS: {},
'Délégation Générale': {},
'K-Fêt': {}
'K-Fêt': {},
'Rentrée académique': {}
}
export function getSubCalendars(name, tree = calendarTree) {