From: Benoît Pin <pin@cri.ensmp.fr> Date: Fri, 19 Jul 2013 13:07:39 +0000 (+0200) Subject: object/view comme vue après création d'un Portfolio, au lieu de l'upload java obsolète. X-Git-Url: https://svn.cri.ensmp.fr/git/Plinn.git/commitdiff_plain/9e5b8b7b07ce467d389710f6ed3214bab6bacf35 object/view comme vue après création d'un Portfolio, au lieu de l'upload java obsolète. --- diff --git a/profiles/photo/types/Discussion_Item.xml b/profiles/photo/types/Discussion_Item.xml index 57b3007..0df543a 100644 --- a/profiles/photo/types/Discussion_Item.xml +++ b/profiles/photo/types/Discussion_Item.xml @@ -5,7 +5,8 @@ <property name="description">Discussion Items are documents which reply to other content. They should *not* be addable through the standard 'folder_factories' interface.</property> - <property name="icon_expr">string:${portal_url}/discussionitem_icon.gif</property> + <property + name="icon_expr">string:${portal_url}/discussionitem_icon.gif</property> <property name="content_meta_type">Discussion Item</property> <property name="product"></property> <property name="factory"></property> diff --git a/profiles/photo/types/File_Slot.xml b/profiles/photo/types/File_Slot.xml index f5800c4..8782cbe 100644 --- a/profiles/photo/types/File_Slot.xml +++ b/profiles/photo/types/File_Slot.xml @@ -3,7 +3,8 @@ xmlns:i18n="http://xml.zope.org/namespaces/i18n"> <property name="title">File Slot</property> <property name="description">File Slot for Mosaic Document</property> - <property name="icon_expr">string:${portal_url}/mosaic_tool/bin_icon.gif</property> + <property + name="icon_expr">string:${portal_url}/mosaic_tool/bin_icon.gif</property> <property name="content_meta_type">File Slot</property> <property name="product">MosaicDocument</property> <property name="factory">addFileSlot</property> diff --git a/profiles/photo/types/Image_Slot.xml b/profiles/photo/types/Image_Slot.xml index 13a4af6..c82d822 100644 --- a/profiles/photo/types/Image_Slot.xml +++ b/profiles/photo/types/Image_Slot.xml @@ -3,7 +3,8 @@ xmlns:i18n="http://xml.zope.org/namespaces/i18n"> <property name="title">Image Slot</property> <property name="description">Image Slot for Mosaic Document</property> - <property name="icon_expr">string:${portal_url}/mosaic_tool/photo_icon.gif</property> + <property + name="icon_expr">string:${portal_url}/mosaic_tool/photo_icon.gif</property> <property name="content_meta_type">Image Slot</property> <property name="product">MosaicDocument</property> <property name="factory">addImageSlot</property> diff --git a/profiles/photo/types/List_Slot.xml b/profiles/photo/types/List_Slot.xml index 1da28ad..0d8c207 100644 --- a/profiles/photo/types/List_Slot.xml +++ b/profiles/photo/types/List_Slot.xml @@ -3,7 +3,8 @@ xmlns:i18n="http://xml.zope.org/namespaces/i18n"> <property name="title">List Slot</property> <property name="description">List Slot for Mosaic Document</property> - <property name="icon_expr">string:${portal_url}/mosaic_tool/str_icon.gif</property> + <property + name="icon_expr">string:${portal_url}/mosaic_tool/str_icon.gif</property> <property name="content_meta_type">List Slot</property> <property name="product">MosaicDocument</property> <property name="factory">addStringSlot</property> diff --git a/profiles/photo/types/Portfolio.xml b/profiles/photo/types/Portfolio.xml index 15fee88..3be7ccb 100644 --- a/profiles/photo/types/Portfolio.xml +++ b/profiles/photo/types/Portfolio.xml @@ -9,7 +9,7 @@ <property name="factory">portfolio.portfolio</property> <property name="add_view_expr"></property> <property name="link_target"></property> - <property name="immediate_view">object/import</property> + <property name="immediate_view">object/view</property> <property name="global_allow">True</property> <property name="filter_content_types">True</property> <property name="allowed_content_types"> diff --git a/profiles/photo/types/Spacer_Slot.xml b/profiles/photo/types/Spacer_Slot.xml index f34dccb..2b0a14c 100644 --- a/profiles/photo/types/Spacer_Slot.xml +++ b/profiles/photo/types/Spacer_Slot.xml @@ -3,7 +3,8 @@ xmlns:i18n="http://xml.zope.org/namespaces/i18n"> <property name="title">Spacer Slot</property> <property name="description">Spacer Slot for Mosaic Document</property> - <property name="icon_expr">string:${portal_url}/mosaic_tool/spacer_icon.gif</property> + <property + name="icon_expr">string:${portal_url}/mosaic_tool/spacer_icon.gif</property> <property name="content_meta_type">Spacer Slot</property> <property name="product">MosaicDocument</property> <property name="factory">addSpacerSlot</property> diff --git a/profiles/photo/types/String_Slot.xml b/profiles/photo/types/String_Slot.xml index 428e4f9..eadc06e 100644 --- a/profiles/photo/types/String_Slot.xml +++ b/profiles/photo/types/String_Slot.xml @@ -3,7 +3,8 @@ xmlns:i18n="http://xml.zope.org/namespaces/i18n"> <property name="title">String Slot</property> <property name="description">String Slot for Mosaic Document</property> - <property name="icon_expr">string:${portal_url}/mosaic_tool/str_icon.gif</property> + <property + name="icon_expr">string:${portal_url}/mosaic_tool/str_icon.gif</property> <property name="content_meta_type">String Slot</property> <property name="product">MosaicDocument</property> <property name="factory">addStringSlot</property> diff --git a/profiles/photo/types/Text_Slot.xml b/profiles/photo/types/Text_Slot.xml index b15e189..1066247 100644 --- a/profiles/photo/types/Text_Slot.xml +++ b/profiles/photo/types/Text_Slot.xml @@ -3,7 +3,8 @@ xmlns:i18n="http://xml.zope.org/namespaces/i18n"> <property name="title">Text Slot</property> <property name="description">Text Slot for Mosaic Document</property> - <property name="icon_expr">string:${portal_url}/mosaic_tool/txt_icon.gif</property> + <property + name="icon_expr">string:${portal_url}/mosaic_tool/txt_icon.gif</property> <property name="content_meta_type">Text Slot</property> <property name="product">MosaicDocument</property> <property name="factory">addStringSlot</property>