diff --git a/app/scodoc/sco_pdf.py b/app/scodoc/sco_pdf.py index 02cd6e87f..c43f652dc 100755 --- a/app/scodoc/sco_pdf.py +++ b/app/scodoc/sco_pdf.py @@ -351,7 +351,7 @@ class ScoDocPageTemplate(PageTemplate): canv.drawString( self.preferences["pdf_footer_x"] * mm, self.preferences["pdf_footer_y"] * mm, - content, + content + " " + self.preferences["pdf_footer_extra"], ) canv.restoreState() diff --git a/app/scodoc/sco_preferences.py b/app/scodoc/sco_preferences.py index effc1e68c..53e7af02e 100644 --- a/app/scodoc/sco_preferences.py +++ b/app/scodoc/sco_preferences.py @@ -963,6 +963,16 @@ class BasePreferences: "category": "pdf", }, ), + ( + "pdf_footer_extra", + { + "initvalue": "", + "title": "Texte à ajouter en pied de page", + "explanation": "sur tous les documents, par exemple vos coordonnées, ...", + "size": 78, + "category": "pdf", + }, + ), ( "pdf_footer_x", {