From 9416cd53c616fc3b59a61de7eea24759d446cb56 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fr=C3=A9d=C3=A9ric=20P=C3=A9ters?= Date: Wed, 16 Nov 2011 18:19:57 +0100 Subject: [PATCH] change mixed committees to be folderish --- tabellio/mixedcommittee/committee.py | 4 ++-- .../default/types/tabellio.mixedcommittee.committee.xml | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/tabellio/mixedcommittee/committee.py b/tabellio/mixedcommittee/committee.py index 74d71e7..a142b62 100644 --- a/tabellio/mixedcommittee/committee.py +++ b/tabellio/mixedcommittee/committee.py @@ -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) diff --git a/tabellio/mixedcommittee/profiles/default/types/tabellio.mixedcommittee.committee.xml b/tabellio/mixedcommittee/profiles/default/types/tabellio.mixedcommittee.committee.xml index edaeef3..74fc9a8 100644 --- a/tabellio/mixedcommittee/profiles/default/types/tabellio.mixedcommittee.committee.xml +++ b/tabellio/mixedcommittee/profiles/default/types/tabellio.mixedcommittee.committee.xml @@ -8,7 +8,7 @@ document_icon.gif False True - True + False