src/pyams_content/profile/interfaces/__init__.py
changeset 8 4a2b5dd3d69b
parent 0 7c0001cacf8e
child 558 d9c6b1d7fefa
--- a/src/pyams_content/profile/interfaces/__init__.py	Mon Jan 18 16:08:07 2016 +0100
+++ b/src/pyams_content/profile/interfaces/__init__.py	Mon Jan 18 16:08:56 2016 +0100
@@ -19,7 +19,7 @@
 
 # import packages
 from zope.interface import Interface
-from zope.schema import Choice
+from zope.schema import Choice, List, TextLine
 
 from pyams_content import _
 
@@ -30,6 +30,10 @@
 class IAdminProfile(Interface):
     """User admin profile preferences"""
 
+    favorites = List(title=_("User favorites"),
+                     description=_("List of internal numbers of shared contents stored for quick access"),
+                     value_type=TextLine())
+
     table_page_length = Choice(title=_("Default table length"),
                                description=_("Default length used for inner tables and dashboards"),
                                values=(10, 25, 50, 100),