change mixed committees to be folderish
This commit is contained in:
parent
5a4bc0e941
commit
9416cd53c6
|
@ -5,7 +5,7 @@ from z3c.relationfield.schema import RelationChoice
|
|||
from Products.Five import BrowserView
|
||||
|
||||
from plone.directives import form, dexterity
|
||||
from plone.dexterity.content import Item
|
||||
from plone.dexterity.content import Container
|
||||
from plone.formwidget.contenttree import ObjPathSourceBinder
|
||||
from plone.app.textfield import RichText
|
||||
from plone.namedfile.field import NamedImage
|
||||
|
@ -17,5 +17,5 @@ class ICommittee(form.Schema):
|
|||
relationship = RichText(title=_(u'Relationship'), required=False)
|
||||
resolutions = RichText(title=_(u'Resolutions'), required=False)
|
||||
|
||||
class Committee(Item):
|
||||
class Committee(Container):
|
||||
implements(ICommittee)
|
||||
|
|
|
@ -8,7 +8,7 @@
|
|||
<property name="content_icon">document_icon.gif</property>
|
||||
<property name="allow_discussion">False</property>
|
||||
<property name="global_allow">True</property>
|
||||
<property name="filter_content_types">True</property>
|
||||
<property name="filter_content_types">False</property>
|
||||
<property name="allowed_content_types" />
|
||||
|
||||
<!-- schema interface -->
|
||||
|
|
Reference in New Issue