Skip to content

Commit

Permalink
feat: add personal data link in footer
Browse files Browse the repository at this point in the history
  • Loading branch information
juggler31 committed Sep 26, 2024
1 parent 5cfa411 commit da2ab75
Show file tree
Hide file tree
Showing 15 changed files with 485 additions and 328 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ atlas/static/custom/templates/footer.html
atlas/static/custom/templates/introduction.html
atlas/static/custom/templates/credits.html
atlas/static/custom/templates/mentions-legales.html
atlas/static/custom/templates/personal-data.html
atlas/static/custom/templates/navbar.html

data/ref/emprise_territoire.*
Expand Down
1 change: 0 additions & 1 deletion atlas/babel.cfg
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
[python: **.py]
[jinja2: **/templates/**/**.html]
[jinja2: **/static/custom/templates/**.sample]
extensions=jinja2.ext.autoescape,jinja2.ext.with_
3 changes: 3 additions & 0 deletions atlas/configuration/config.py.example
Original file line number Diff line number Diff line change
Expand Up @@ -155,6 +155,9 @@ AFFICHAGE_INTRODUCTION = True
# Afficher le Footer sur toutes les pages (static/custom/templates/footer.html)
AFFICHAGE_FOOTER = True

# Afficher le lien "données personnelles" dans le footer
FOOTER_RGPD = True

# Bloc de statistiques globales. Affichage True/False
AFFICHAGE_STAT_GLOBALES = True

Expand Down
1 change: 1 addition & 0 deletions atlas/configuration/config_schema.py
Original file line number Diff line number Diff line change
Expand Up @@ -130,6 +130,7 @@ class Meta:
AFFICHAGE_INTRODUCTION = fields.Boolean(load_default=True)
AFFICHAGE_LOGOS_HOME = fields.Boolean(load_default=True)
AFFICHAGE_FOOTER = fields.Boolean(load_default=True)
FOOTER_RGPD = fields.Boolean(load_default=True)
AFFICHAGE_STAT_GLOBALES = fields.Boolean(load_default=True)
AFFICHAGE_DERNIERES_OBS = fields.Boolean(load_default=True)
AFFICHAGE_EN_CE_MOMENT = fields.Boolean(load_default=True)
Expand Down
Loading

0 comments on commit da2ab75

Please sign in to comment.