Updated default renderer selection to 'default' instead of 'hidden'
authorThierry Florac <thierry.florac@onf.fr>
Fri, 02 Mar 2018 14:06:39 +0100
changeset 429 fafbf6bb246e
parent 428 f22d6ae1d8f5
child 430 3d44390d2ecd
Updated default renderer selection to 'default' instead of 'hidden'
src/pyams_content/component/gallery/interfaces/__init__.py
src/pyams_content/component/illustration/interfaces/__init__.py
src/pyams_content/component/paragraph/interfaces/contact.py
src/pyams_content/component/paragraph/interfaces/header.py
src/pyams_content/component/paragraph/interfaces/keypoint.py
--- a/src/pyams_content/component/gallery/interfaces/__init__.py	Fri Mar 02 13:55:13 2018 +0100
+++ b/src/pyams_content/component/gallery/interfaces/__init__.py	Fri Mar 02 14:06:39 2018 +0100
@@ -102,7 +102,7 @@
     renderer = Choice(title=_("Gallery template"),
                       description=_("Presentation template used for this gallery"),
                       vocabulary=GALLERY_RENDERERS,
-                      default='hidden')
+                      default='default')
 
     def append(self, value, notify=True):
         """Append new file to gallery
--- a/src/pyams_content/component/illustration/interfaces/__init__.py	Fri Mar 02 13:55:13 2018 +0100
+++ b/src/pyams_content/component/illustration/interfaces/__init__.py	Fri Mar 02 14:06:39 2018 +0100
@@ -69,7 +69,7 @@
     renderer = Choice(title=_("Illustration template"),
                       description=_("Presentation template used for illustration"),
                       vocabulary=ILLUSTRATION_RENDERERS,
-                      default='hidden')
+                      default='default')
 
 
 class IIllustrationTarget(IAttributeAnnotatable):
@@ -98,4 +98,4 @@
     renderer = Choice(title=_("Illustration template"),
                       description=_("Presentation template used for illustration"),
                       vocabulary=ILLUSTRATION_RENDERERS,
-                      default='hidden')
+                      default='default')
--- a/src/pyams_content/component/paragraph/interfaces/contact.py	Fri Mar 02 13:55:13 2018 +0100
+++ b/src/pyams_content/component/paragraph/interfaces/contact.py	Fri Mar 02 14:06:39 2018 +0100
@@ -60,4 +60,4 @@
     renderer = Choice(title=_("Contact template"),
                       description=_("Presentation template used for this contact"),
                       vocabulary=CONTACT_PARAGRAPH_RENDERERS,
-                      default='hidden')
+                      default='default')
--- a/src/pyams_content/component/paragraph/interfaces/header.py	Fri Mar 02 13:55:13 2018 +0100
+++ b/src/pyams_content/component/paragraph/interfaces/header.py	Fri Mar 02 14:06:39 2018 +0100
@@ -43,4 +43,4 @@
     renderer = Choice(title=_("Header template"),
                       description=_("Presentation template used for this header"),
                       vocabulary=HEADER_PARAGRAPH_RENDERERS,
-                      default='hidden')
+                      default='default')
--- a/src/pyams_content/component/paragraph/interfaces/keypoint.py	Fri Mar 02 13:55:13 2018 +0100
+++ b/src/pyams_content/component/paragraph/interfaces/keypoint.py	Fri Mar 02 14:06:39 2018 +0100
@@ -44,4 +44,4 @@
     renderer = Choice(title=_("Presentation template"),
                       description=_("Presentation template used for this paragraph"),
                       vocabulary=KEYPOINTS_PARAGRAPH_RENDERERS,
-                      default='hidden')
+                      default='default')