From 45b6f60dec6b7e0961bff42b018dac9aded174bf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fr=C3=A9d=C3=A9ric=20P=C3=A9ters?= Date: Wed, 5 Mar 2014 11:30:48 +0100 Subject: [PATCH] add apf mails (#4369) --- .../basecontent/profiles/default/types.xml | 3 + .../default/types/pfwb.apfincomingmail.xml | 65 +++++++++++++++++++ .../default/types/pfwb.apfoutgoingmail.xml | 65 +++++++++++++++++++ src/pfwbged/basecontent/types.py | 14 ++++ 4 files changed, 147 insertions(+) create mode 100644 src/pfwbged/basecontent/profiles/default/types/pfwb.apfincomingmail.xml create mode 100644 src/pfwbged/basecontent/profiles/default/types/pfwb.apfoutgoingmail.xml diff --git a/src/pfwbged/basecontent/profiles/default/types.xml b/src/pfwbged/basecontent/profiles/default/types.xml index ac6e480..0069b56 100644 --- a/src/pfwbged/basecontent/profiles/default/types.xml +++ b/src/pfwbged/basecontent/profiles/default/types.xml @@ -10,6 +10,9 @@ + + + + APF Incoming Mail + + string:${portal_url}/++resource++dmsincomingmail_icon.png + True + False + + + + + + + + + + + + True + + + + + + + + + + + + pfwbged.basecontent.types.IApfIncomingMail + + + pfwbged.basecontent.types.ApfIncomingMail + + + cmf.AddPortalContent + + + view + False + + + + + + + + + + + + + + + + + + + diff --git a/src/pfwbged/basecontent/profiles/default/types/pfwb.apfoutgoingmail.xml b/src/pfwbged/basecontent/profiles/default/types/pfwb.apfoutgoingmail.xml new file mode 100644 index 0000000..0876c71 --- /dev/null +++ b/src/pfwbged/basecontent/profiles/default/types/pfwb.apfoutgoingmail.xml @@ -0,0 +1,65 @@ + + + + + APF Outgoing Mail + + string:${portal_url}/++resource++dmsoutgoingmail_icon.png + True + False + + + + + + + + + + + + True + + + + + + + + + + + + pfwbged.basecontent.types.IApfIncomingMail + + + pfwbged.basecontent.types.ApfIncomingMail + + + cmf.AddPortalContent + + + view + False + + + + + + + + + + + + + + + + + + + diff --git a/src/pfwbged/basecontent/types.py b/src/pfwbged/basecontent/types.py index faba627..acf2b15 100644 --- a/src/pfwbged/basecontent/types.py +++ b/src/pfwbged/basecontent/types.py @@ -189,3 +189,17 @@ class IBoardMinutes(IPfwbBaseDocument): class BoardMinutes(PfwbBaseDocument): implements(IBoardMinutes) + + +class IApfIncomingMail(IDmsIncomingMail): + """ """ + +class ApfIncomingMail(DmsIncomingMail): + implements(IApfIncomingMail) + + +class IApfOutgoingMail(IDmsIncomingMail): + """ """ + +class ApfOutgoingMail(DmsIncomingMail): + implements(IApfOutgoingMail)