Skip to content

Commit

Permalink
feat: add personal data link in footer + update translation (PnX-SI#574)
Browse files Browse the repository at this point in the history
* fix: remove script in footer.html template
Le script ne fonctionnait plus depuis le commit : PnX-SI@c897d55

* fix: remove babel extensions because they are integrated in package now

* fix: launch translation cmd

Les fichiers `.po`, `.mo`, et `.pot` n'était pas à jours, ce commit les met juste à jours.

* feat: add personal data link in footer
  • Loading branch information
juggler31 authored Oct 11, 2024
1 parent 783e93b commit 002c6ee
Show file tree
Hide file tree
Showing 16 changed files with 489 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
AFFICHAGE_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)
AFFICHAGE_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 002c6ee

Please sign in to comment.