src/pyams_content/shared/common/portlet/title.py
changeset 1385 7383e6ce5411
parent 1157 ffb751b038cc
--- a/src/pyams_content/shared/common/portlet/title.py	Tue Nov 19 16:39:10 2019 +0100
+++ b/src/pyams_content/shared/common/portlet/title.py	Mon Jun 22 17:34:24 2020 +0200
@@ -12,6 +12,8 @@
 
 __docformat__ = 'restructuredtext'
 
+from zope.schema.fieldproperty import FieldProperty
+
 from pyams_content.shared.common.portlet.interfaces import ISharedContentTitlePortletSettings
 from pyams_portal.portlet import Portlet, PortletSettings, portlet_config
 from pyams_utils.factory import factory_config
@@ -27,6 +29,11 @@
 class SharedContentTitlePortletSettings(PortletSettings):
     """Shared content title portlet settings"""
 
+    display_publication_date = FieldProperty(
+        ISharedContentTitlePortletSettings['display_publication_date'])
+    publication_date_prefix = FieldProperty(
+        ISharedContentTitlePortletSettings['publication_date_prefix'])
+
 
 @portlet_config(permission=VIEW_PERMISSION)
 class SharedContentTitlePortlet(Portlet):