diff --git a/atlas/configuration/config.py.example b/atlas/configuration/config.py.example index 88ca19108..90e55e361 100644 --- a/atlas/configuration/config.py.example +++ b/atlas/configuration/config.py.example @@ -184,6 +184,12 @@ RANG_STAT_FR = ['Faune invertébrée', 'Faune vertébrée', 'Flore'] ####### FICHE ESPECE ####### ############################ +# Afficher le graphique des altitudes. Affichage True/False +AFFICHAGE_GRAPH_ALTITUDES = True + +# Afficher le graphique de la phénologie. Affichage True/False +AFFICHAGE_GRAPH_PHENOLOGIE = True + # Rang taxonomique qui fixe jusqu'à quel taxon remonte la filiation taxonomique (hierarchie dans la fiche d'identite : Famille, Ordre etc... ) LIMIT_RANG_TAXONOMIQUE_HIERARCHIE = 13 diff --git a/atlas/configuration/config_schema.py b/atlas/configuration/config_schema.py index 068944a7a..dbdca924b 100644 --- a/atlas/configuration/config_schema.py +++ b/atlas/configuration/config_schema.py @@ -136,6 +136,8 @@ class Meta: AFFICHAGE_RANG_STAT = fields.Boolean(load_default=True) AFFICHAGE_NOUVELLES_ESPECES = fields.Boolean(load_default=True) AFFICHAGE_RECHERCHE_AVANCEE = fields.Boolean(load_default=False) + AFFICHAGE_GRAPH_ALTITUDES = fields.Boolean(load_default=True) + AFFICHAGE_GRAPH_PHENOLOGIE = fields.Boolean(load_default=True) RANG_STAT = fields.List( fields.Dict, diff --git a/atlas/templates/speciesSheet/charts.html b/atlas/templates/speciesSheet/charts.html index c9753ae59..f12648a20 100644 --- a/atlas/templates/speciesSheet/charts.html +++ b/atlas/templates/speciesSheet/charts.html @@ -1,12 +1,16 @@ {% block charts %}