Added header and footer features
authorThierry Florac <thierry.florac@onf.fr>
Wed, 23 May 2018 14:56:48 +0200
changeset 553 781e3958f6bf
parent 552 63d41f025390
child 554 120ce09ade94
child 651 26a58877d1aa
Added header and footer features
src/pyams_content/locales/fr/LC_MESSAGES/pyams_content.mo
src/pyams_content/locales/fr/LC_MESSAGES/pyams_content.po
src/pyams_content/locales/pyams_content.pot
Binary file src/pyams_content/locales/fr/LC_MESSAGES/pyams_content.mo has changed
--- a/src/pyams_content/locales/fr/LC_MESSAGES/pyams_content.po	Wed May 23 14:52:58 2018 +0200
+++ b/src/pyams_content/locales/fr/LC_MESSAGES/pyams_content.po	Wed May 23 14:56:48 2018 +0200
@@ -5,7 +5,7 @@
 msgid ""
 msgstr ""
 "Project-Id-Version: PACKAGE 1.0\n"
-"POT-Creation-Date: 2018-04-26 16:39+0200\n"
+"POT-Creation-Date: 2018-05-15 16:31+0200\n"
 "PO-Revision-Date: 2015-09-10 10:42+0200\n"
 "Last-Translator: Thierry Florac <tflorac@ulthar.net>\n"
 "Language-Team: French\n"
@@ -95,7 +95,7 @@
 msgid "Update media properties"
 msgstr "Propriétés du média"
 
-#: src/pyams_content/component/gallery/zmi/file.py:246
+#: src/pyams_content/component/gallery/zmi/file.py:249
 msgid "Remove media..."
 msgstr "Supprimer le média"
 
@@ -103,7 +103,7 @@
 msgid "Show/hide media"
 msgstr "Cliquez pour rendre le média visible ou non"
 
-#: src/pyams_content/component/gallery/zmi/file.py:214
+#: src/pyams_content/component/gallery/zmi/file.py:216
 msgid "Audio content"
 msgstr "Contenu audio associé"
 
@@ -700,7 +700,7 @@
 "REMARQUE : supprimer des types de la liste des types de blocs autorisés sera "
 "sans effet sur les contenus existants."
 
-#: src/pyams_content/component/paragraph/zmi/__init__.py:194
+#: src/pyams_content/component/paragraph/zmi/__init__.py:197
 msgid "Paragraph was correctly added."
 msgstr "Le bloc a été ajouté."
 
@@ -712,15 +712,15 @@
 msgid "Add new video paragraph"
 msgstr "Ajout d'une vidéo"
 
-#: src/pyams_content/component/paragraph/zmi/video.py:112
-#: src/pyams_content/component/video/zmi/paragraph.py:193
+#: src/pyams_content/component/paragraph/zmi/video.py:115
+#: src/pyams_content/component/video/zmi/paragraph.py:208
 msgid "Edit video properties"
 msgstr "Propriétés de la vidéo"
 
-#: src/pyams_content/component/paragraph/zmi/video.py:84
-#: src/pyams_content/component/paragraph/zmi/video.py:131
-#: src/pyams_content/component/video/zmi/paragraph.py:87
-#: src/pyams_content/component/video/zmi/paragraph.py:216
+#: src/pyams_content/component/paragraph/zmi/video.py:86
+#: src/pyams_content/component/paragraph/zmi/video.py:136
+#: src/pyams_content/component/video/zmi/paragraph.py:102
+#: src/pyams_content/component/video/zmi/paragraph.py:236
 msgid "HTML content"
 msgstr "Contenu HTML"
 
@@ -1186,10 +1186,12 @@
 msgstr "Coordonnées GPS de situation du contact"
 
 #: src/pyams_content/component/paragraph/interfaces/header.py:43
+#: src/pyams_content/features/header/interfaces/__init__.py:39
 msgid "Header template"
 msgstr "Mode de rendu"
 
 #: src/pyams_content/component/paragraph/interfaces/header.py:44
+#: src/pyams_content/features/header/interfaces/__init__.py:40
 msgid "Presentation template used for this header"
 msgstr "Mode de rendu utilisé par ce chapô"
 
@@ -1225,13 +1227,13 @@
 msgid "Associations paragraph"
 msgstr "Liens et pièces jointes"
 
-#: src/pyams_content/component/association/container.py:95
-#: src/pyams_content/component/association/zmi/__init__.py:282
+#: src/pyams_content/component/association/container.py:88
+#: src/pyams_content/component/association/zmi/__init__.py:288
 msgid "Associations"
 msgstr "Liens et pièces jointes"
 
 #: src/pyams_content/component/association/zmi/paragraph.py:56
-#: src/pyams_content/component/association/zmi/__init__.py:94
+#: src/pyams_content/component/association/zmi/__init__.py:95
 msgid "Associations..."
 msgstr "Liens et pièces jointes"
 
@@ -1243,24 +1245,24 @@
 msgid "Edit association paragraph properties"
 msgstr "Propriétés du bloc « liens et pièces jointes »"
 
-#: src/pyams_content/component/association/zmi/__init__.py:187
+#: src/pyams_content/component/association/zmi/__init__.py:193
 msgid "Public title"
 msgstr "Libellé public"
 
-#: src/pyams_content/component/association/zmi/__init__.py:204
+#: src/pyams_content/component/association/zmi/__init__.py:210
 msgid "Inner title"
 msgstr "Contenu interne"
 
-#: src/pyams_content/component/association/zmi/__init__.py:219
+#: src/pyams_content/component/association/zmi/__init__.py:225
 msgid "Size"
 msgstr "Taille"
 
-#: src/pyams_content/component/association/zmi/__init__.py:259
-#: src/pyams_content/component/association/zmi/__init__.py:269
+#: src/pyams_content/component/association/zmi/__init__.py:265
+#: src/pyams_content/component/association/zmi/__init__.py:275
 msgid "Associations list"
 msgstr "Liste des liens et pièces jointes"
 
-#: src/pyams_content/component/association/zmi/__init__.py:64
+#: src/pyams_content/component/association/zmi/__init__.py:65
 msgid "Association was correctly added."
 msgstr "L'association a été ajoutée."
 
@@ -1276,19 +1278,19 @@
 msgid "Presentation template used for associations"
 msgstr "Modèle de présentation utilisé par ce bloc de contenu"
 
-#: src/pyams_content/component/links/__init__.py:103
+#: src/pyams_content/component/links/__init__.py:104
 msgid "Internal link"
 msgstr "Lien interne"
 
-#: src/pyams_content/component/links/__init__.py:178
+#: src/pyams_content/component/links/__init__.py:186
 msgid "External link"
 msgstr "Lien externe"
 
-#: src/pyams_content/component/links/__init__.py:224
+#: src/pyams_content/component/links/__init__.py:239
 msgid "Mailto link"
 msgstr "Lien mailto"
 
-#: src/pyams_content/component/links/__init__.py:165
+#: src/pyams_content/component/links/__init__.py:173
 msgid "target is not published"
 msgstr "le contenu ciblé n'est pas publié"
 
@@ -1410,11 +1412,11 @@
 msgid "Dailymotion settings"
 msgstr "Paramètres Dailymotion"
 
-#: src/pyams_content/component/video/provider/__init__.py:66
+#: src/pyams_content/component/video/provider/__init__.py:70
 msgid "Other provider"
 msgstr "Autre fournisseur"
 
-#: src/pyams_content/component/video/provider/__init__.py:90
+#: src/pyams_content/component/video/provider/__init__.py:94
 msgid "Custom video settings"
 msgstr "Paramètres spécifiques"
 
@@ -1431,7 +1433,8 @@
 "Please select integration code provided by your video provider, and paste it "
 "here"
 msgstr ""
-"Veuillez sélectionner le code d'intégration proposé par votre fournisseur et le coller ici"
+"Veuillez sélectionner le code d'intégration proposé par votre fournisseur et "
+"le coller ici"
 
 #: src/pyams_content/component/video/provider/interfaces.py:40
 #: src/pyams_content/component/video/provider/interfaces.py:112
@@ -1607,8 +1610,7 @@
 
 #: src/pyams_content/component/video/provider/interfaces.py:143
 msgid "If 'yes', Dailymotion branding will be displayed"
-msgstr ""
-"Si 'oui', la marque 'Dailymotion' est affichée en bas de la vidéo"
+msgstr "Si 'oui', la marque 'Dailymotion' est affichée en bas de la vidéo"
 
 #: src/pyams_content/component/video/provider/interfaces.py:147
 msgid "Show end screen?"
@@ -1672,16 +1674,16 @@
 msgid "Add new external video..."
 msgstr "Ajout d'une vidéo externe"
 
-#: src/pyams_content/component/video/zmi/paragraph.py:140
+#: src/pyams_content/component/video/zmi/paragraph.py:144
 msgid "Video provider is required"
 msgstr "Le nom du fournisseur est obligatoire"
 
-#: src/pyams_content/component/video/zmi/paragraph.py:163
-#: src/pyams_content/component/video/zmi/paragraph.py:238
+#: src/pyams_content/component/video/zmi/paragraph.py:193
+#: src/pyams_content/component/video/zmi/paragraph.py:257
 msgid "Video provider settings"
 msgstr "Paramètres liés au fournisseur"
 
-#: src/pyams_content/component/video/zmi/paragraph.py:179
+#: src/pyams_content/component/video/zmi/paragraph.py:173
 msgid "Other settings"
 msgstr "Autres paramètres"
 
@@ -2400,11 +2402,11 @@
 msgid "Edit manager restrictions for « {0} »"
 msgstr "Gérer le périmètre d'intervention de « {0} »"
 
-#: src/pyams_content/shared/common/zmi/security.py:216
+#: src/pyams_content/shared/common/zmi/security.py:220
 msgid "Apply contents restrictions"
 msgstr "Appliquer des restrictions d'accès"
 
-#: src/pyams_content/shared/common/zmi/security.py:218
+#: src/pyams_content/shared/common/zmi/security.py:222
 msgid ""
 "You can specify which contents this manager will be able to manage. If you "
 "specify several criteria, the manager will be able to manage contents for "
@@ -4315,12 +4317,12 @@
 msgid "List of selected pictograms which will be available to shared contents"
 msgstr "Liste des pictogrammes proposés dans les contenus partagés"
 
-#: src/pyams_content/features/renderer/zmi/__init__.py:105
+#: src/pyams_content/features/renderer/zmi/__init__.py:72
 #: src/pyams_content/features/renderer/zmi/templates/renderer-input.pt:4
 msgid "Edit renderer properties"
 msgstr "Propriétés du mode de rendu"
 
-#: src/pyams_content/features/renderer/zmi/__init__.py:134
+#: src/pyams_content/features/renderer/skin/__init__.py:67
 msgid "Hidden content"
 msgstr "Contenu non affiché"
 
@@ -4480,6 +4482,34 @@
 msgid "No currently defined alert."
 msgstr "Aucune alerte n'est définie actuellement."
 
+#: src/pyams_content/features/footer/zmi/__init__.py:56
+msgid "Page footer"
+msgstr "Pied de pages"
+
+#: src/pyams_content/features/footer/zmi/__init__.py:74
+msgid "Edit footer settings"
+msgstr "Paramétrage des pieds de pages"
+
+#: src/pyams_content/features/footer/zmi/__init__.py:172
+msgid "Footer renderer settings"
+msgstr "Propriétés du mode de rendu"
+
+#: src/pyams_content/features/footer/zmi/__init__.py:101
+msgid "Don't inherit parent footer"
+msgstr "Ne pas hériter du pied de pages du parent"
+
+#: src/pyams_content/features/footer/skin/__init__.py:49
+msgid "Hidden footer"
+msgstr "Ne pas afficher de pied de pages"
+
+#: src/pyams_content/features/footer/interfaces/__init__.py:39
+msgid "Footer template"
+msgstr "Mode de rendu"
+
+#: src/pyams_content/features/footer/interfaces/__init__.py:40
+msgid "Presentation template used for this footer"
+msgstr "Mode de rendu utilisé par ce pied de page"
+
 #: src/pyams_content/features/review/__init__.py:186
 #, python-format
 msgid "Request comment: {comment}"
@@ -4676,6 +4706,26 @@
 msgid "Thank you."
 msgstr "Merci."
 
+#: src/pyams_content/features/header/zmi/__init__.py:62
+msgid "Page header"
+msgstr "En-tête de pages"
+
+#: src/pyams_content/features/header/zmi/__init__.py:80
+msgid "Edit header settings"
+msgstr "Paramétrage des en-têtes de pages"
+
+#: src/pyams_content/features/header/zmi/__init__.py:178
+msgid "Header renderer settings"
+msgstr "Propriétés du mode de rendu"
+
+#: src/pyams_content/features/header/zmi/__init__.py:107
+msgid "Don't inherit parent header"
+msgstr "Ne pas hériter de l'en-tête de pages du parent"
+
+#: src/pyams_content/features/header/skin/__init__.py:49
+msgid "Hidden header"
+msgstr "Ne pas afficher d'en-tête de pages"
+
 #~ msgid "Paragraphs types..."
 #~ msgstr "Types de paragraphes"
 
--- a/src/pyams_content/locales/pyams_content.pot	Wed May 23 14:52:58 2018 +0200
+++ b/src/pyams_content/locales/pyams_content.pot	Wed May 23 14:56:48 2018 +0200
@@ -6,7 +6,7 @@
 msgid ""
 msgstr ""
 "Project-Id-Version: PACKAGE 1.0\n"
-"POT-Creation-Date: 2018-04-26 16:39+0200\n"
+"POT-Creation-Date: 2018-05-15 16:31+0200\n"
 "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
 "Last-Translator: FULL NAME <EMAIL@ADDRESS\n"
 "Language-Team: LANGUAGE <LL@li.org>\n"
@@ -96,7 +96,7 @@
 msgid "Update media properties"
 msgstr ""
 
-#: ./src/pyams_content/component/gallery/zmi/file.py:246
+#: ./src/pyams_content/component/gallery/zmi/file.py:249
 msgid "Remove media..."
 msgstr ""
 
@@ -104,7 +104,7 @@
 msgid "Show/hide media"
 msgstr ""
 
-#: ./src/pyams_content/component/gallery/zmi/file.py:214
+#: ./src/pyams_content/component/gallery/zmi/file.py:216
 msgid "Audio content"
 msgstr ""
 
@@ -663,7 +663,7 @@
 "NOTICE: removing types from allowed types list will have no effect on already created contents!"
 msgstr ""
 
-#: ./src/pyams_content/component/paragraph/zmi/__init__.py:194
+#: ./src/pyams_content/component/paragraph/zmi/__init__.py:197
 msgid "Paragraph was correctly added."
 msgstr ""
 
@@ -675,15 +675,15 @@
 msgid "Add new video paragraph"
 msgstr ""
 
-#: ./src/pyams_content/component/paragraph/zmi/video.py:112
-#: ./src/pyams_content/component/video/zmi/paragraph.py:193
+#: ./src/pyams_content/component/paragraph/zmi/video.py:115
+#: ./src/pyams_content/component/video/zmi/paragraph.py:208
 msgid "Edit video properties"
 msgstr ""
 
-#: ./src/pyams_content/component/paragraph/zmi/video.py:84
-#: ./src/pyams_content/component/paragraph/zmi/video.py:131
-#: ./src/pyams_content/component/video/zmi/paragraph.py:87
-#: ./src/pyams_content/component/video/zmi/paragraph.py:216
+#: ./src/pyams_content/component/paragraph/zmi/video.py:86
+#: ./src/pyams_content/component/paragraph/zmi/video.py:136
+#: ./src/pyams_content/component/video/zmi/paragraph.py:102
+#: ./src/pyams_content/component/video/zmi/paragraph.py:236
 msgid "HTML content"
 msgstr ""
 
@@ -1135,10 +1135,12 @@
 msgstr ""
 
 #: ./src/pyams_content/component/paragraph/interfaces/header.py:43
+#: ./src/pyams_content/features/header/interfaces/__init__.py:39
 msgid "Header template"
 msgstr ""
 
 #: ./src/pyams_content/component/paragraph/interfaces/header.py:44
+#: ./src/pyams_content/features/header/interfaces/__init__.py:40
 msgid "Presentation template used for this header"
 msgstr ""
 
@@ -1174,13 +1176,13 @@
 msgid "Associations paragraph"
 msgstr ""
 
-#: ./src/pyams_content/component/association/container.py:95
-#: ./src/pyams_content/component/association/zmi/__init__.py:282
+#: ./src/pyams_content/component/association/container.py:88
+#: ./src/pyams_content/component/association/zmi/__init__.py:288
 msgid "Associations"
 msgstr ""
 
 #: ./src/pyams_content/component/association/zmi/paragraph.py:56
-#: ./src/pyams_content/component/association/zmi/__init__.py:94
+#: ./src/pyams_content/component/association/zmi/__init__.py:95
 msgid "Associations..."
 msgstr ""
 
@@ -1192,24 +1194,24 @@
 msgid "Edit association paragraph properties"
 msgstr ""
 
-#: ./src/pyams_content/component/association/zmi/__init__.py:187
+#: ./src/pyams_content/component/association/zmi/__init__.py:193
 msgid "Public title"
 msgstr ""
 
-#: ./src/pyams_content/component/association/zmi/__init__.py:204
+#: ./src/pyams_content/component/association/zmi/__init__.py:210
 msgid "Inner title"
 msgstr ""
 
-#: ./src/pyams_content/component/association/zmi/__init__.py:219
+#: ./src/pyams_content/component/association/zmi/__init__.py:225
 msgid "Size"
 msgstr ""
 
-#: ./src/pyams_content/component/association/zmi/__init__.py:259
-#: ./src/pyams_content/component/association/zmi/__init__.py:269
+#: ./src/pyams_content/component/association/zmi/__init__.py:265
+#: ./src/pyams_content/component/association/zmi/__init__.py:275
 msgid "Associations list"
 msgstr ""
 
-#: ./src/pyams_content/component/association/zmi/__init__.py:64
+#: ./src/pyams_content/component/association/zmi/__init__.py:65
 msgid "Association was correctly added."
 msgstr ""
 
@@ -1225,19 +1227,19 @@
 msgid "Presentation template used for associations"
 msgstr ""
 
-#: ./src/pyams_content/component/links/__init__.py:103
+#: ./src/pyams_content/component/links/__init__.py:104
 msgid "Internal link"
 msgstr ""
 
-#: ./src/pyams_content/component/links/__init__.py:178
+#: ./src/pyams_content/component/links/__init__.py:186
 msgid "External link"
 msgstr ""
 
-#: ./src/pyams_content/component/links/__init__.py:224
+#: ./src/pyams_content/component/links/__init__.py:239
 msgid "Mailto link"
 msgstr ""
 
-#: ./src/pyams_content/component/links/__init__.py:165
+#: ./src/pyams_content/component/links/__init__.py:173
 msgid "target is not published"
 msgstr ""
 
@@ -1351,11 +1353,11 @@
 msgid "Dailymotion settings"
 msgstr ""
 
-#: ./src/pyams_content/component/video/provider/__init__.py:66
+#: ./src/pyams_content/component/video/provider/__init__.py:70
 msgid "Other provider"
 msgstr ""
 
-#: ./src/pyams_content/component/video/provider/__init__.py:90
+#: ./src/pyams_content/component/video/provider/__init__.py:94
 msgid "Custom video settings"
 msgstr ""
 
@@ -1591,16 +1593,16 @@
 msgid "Add new external video..."
 msgstr ""
 
-#: ./src/pyams_content/component/video/zmi/paragraph.py:140
+#: ./src/pyams_content/component/video/zmi/paragraph.py:144
 msgid "Video provider is required"
 msgstr ""
 
-#: ./src/pyams_content/component/video/zmi/paragraph.py:163
-#: ./src/pyams_content/component/video/zmi/paragraph.py:238
+#: ./src/pyams_content/component/video/zmi/paragraph.py:193
+#: ./src/pyams_content/component/video/zmi/paragraph.py:257
 msgid "Video provider settings"
 msgstr ""
 
-#: ./src/pyams_content/component/video/zmi/paragraph.py:179
+#: ./src/pyams_content/component/video/zmi/paragraph.py:173
 msgid "Other settings"
 msgstr ""
 
@@ -2305,11 +2307,11 @@
 msgid "Edit manager restrictions for « {0} »"
 msgstr ""
 
-#: ./src/pyams_content/shared/common/zmi/security.py:216
+#: ./src/pyams_content/shared/common/zmi/security.py:220
 msgid "Apply contents restrictions"
 msgstr ""
 
-#: ./src/pyams_content/shared/common/zmi/security.py:218
+#: ./src/pyams_content/shared/common/zmi/security.py:222
 msgid ""
 "You can specify which contents this manager will be able to manage. If you "
 "specify several criteria, the manager will be able to manage contents for "
@@ -4099,12 +4101,12 @@
 msgid "List of selected pictograms which will be available to shared contents"
 msgstr ""
 
-#: ./src/pyams_content/features/renderer/zmi/__init__.py:105
+#: ./src/pyams_content/features/renderer/zmi/__init__.py:72
 #: ./src/pyams_content/features/renderer/zmi/templates/renderer-input.pt:4
 msgid "Edit renderer properties"
 msgstr ""
 
-#: ./src/pyams_content/features/renderer/zmi/__init__.py:134
+#: ./src/pyams_content/features/renderer/skin/__init__.py:67
 msgid "Hidden content"
 msgstr ""
 
@@ -4254,6 +4256,34 @@
 msgid "No currently defined alert."
 msgstr ""
 
+#: ./src/pyams_content/features/footer/zmi/__init__.py:56
+msgid "Page footer"
+msgstr ""
+
+#: ./src/pyams_content/features/footer/zmi/__init__.py:74
+msgid "Edit footer settings"
+msgstr ""
+
+#: ./src/pyams_content/features/footer/zmi/__init__.py:172
+msgid "Footer renderer settings"
+msgstr ""
+
+#: ./src/pyams_content/features/footer/zmi/__init__.py:101
+msgid "Don't inherit parent footer"
+msgstr ""
+
+#: ./src/pyams_content/features/footer/skin/__init__.py:49
+msgid "Hidden footer"
+msgstr ""
+
+#: ./src/pyams_content/features/footer/interfaces/__init__.py:39
+msgid "Footer template"
+msgstr ""
+
+#: ./src/pyams_content/features/footer/interfaces/__init__.py:40
+msgid "Presentation template used for this footer"
+msgstr ""
+
 #: ./src/pyams_content/features/review/__init__.py:186
 #, python-format
 msgid "Request comment: {comment}"
@@ -4435,3 +4465,23 @@
 #: ./src/pyams_content/features/review/zmi/templates/review-notification.pt:47
 msgid "Thank you."
 msgstr ""
+
+#: ./src/pyams_content/features/header/zmi/__init__.py:62
+msgid "Page header"
+msgstr ""
+
+#: ./src/pyams_content/features/header/zmi/__init__.py:80
+msgid "Edit header settings"
+msgstr ""
+
+#: ./src/pyams_content/features/header/zmi/__init__.py:178
+msgid "Header renderer settings"
+msgstr ""
+
+#: ./src/pyams_content/features/header/zmi/__init__.py:107
+msgid "Don't inherit parent header"
+msgstr ""
+
+#: ./src/pyams_content/features/header/skin/__init__.py:49
+msgid "Hidden header"
+msgstr ""