From 27e888beb5539253a86afd72cc9772031b3d31bb Mon Sep 17 00:00:00 2001 From: Fabien Morin <fabien@nexedi.com> Date: Thu, 4 Nov 2010 13:43:50 +0000 Subject: [PATCH] define a new icon on organisation instead of document_icon.gif. The original I use is available there : http://commons.wikimedia.org/wiki/File:Enterprise_buildings_icons.png and is in public domain. Reviewed by thierry git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@39900 20353a03-c40f-0410-a6d1-a30d3c3de9de --- .../portal_types/Organisation.xml | 84 ++++++++++++-- .../erp5_base/organisation_icon.png.xml | 109 ++++++++++++++++++ bt5/erp5_base/bt/revision | 2 +- 3 files changed, 187 insertions(+), 8 deletions(-) create mode 100644 bt5/erp5_base/SkinTemplateItem/portal_skins/erp5_base/organisation_icon.png.xml diff --git a/bt5/erp5_base/PortalTypeTemplateItem/portal_types/Organisation.xml b/bt5/erp5_base/PortalTypeTemplateItem/portal_types/Organisation.xml index 8fd7265eb2..ba23c18610 100644 --- a/bt5/erp5_base/PortalTypeTemplateItem/portal_types/Organisation.xml +++ b/bt5/erp5_base/PortalTypeTemplateItem/portal_types/Organisation.xml @@ -2,20 +2,36 @@ <ZopeData> <record id="1" aka="AAAAAAAAAAE="> <pickle> - <tuple> - <global name="ERP5TypeInformation" module="Products.ERP5Type.ERP5Type"/> - <tuple/> - </tuple> + <global name="ERP5TypeInformation" module="Products.ERP5Type.ERP5Type"/> </pickle> <pickle> <dictionary> + <item> + <key> <string>_property_domain_dict</string> </key> + <value> + <dictionary> + <item> + <key> <string>short_title</string> </key> + <value> + <persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent> + </value> + </item> + <item> + <key> <string>title</string> </key> + <value> + <persistent> <string encoding="base64">AAAAAAAAAAM=</string> </persistent> + </value> + </item> + </dictionary> + </value> + </item> <item> <key> <string>acquire_local_roles</string> </key> <value> <int>0</int> </value> </item> <item> <key> <string>content_icon</string> </key> - <value> <string>document_icon.gif</string> </value> + <value> <string>organisation_icon.png</string> </value> </item> <item> <key> <string>content_meta_type</string> </key> @@ -47,16 +63,70 @@ </item> <item> <key> <string>init_script</string> </key> - <value> <string></string> </value> + <value> + <none/> + </value> </item> <item> <key> <string>permission</string> </key> - <value> <string></string> </value> + <value> + <none/> + </value> </item> <item> <key> <string>title</string> </key> <value> <string></string> </value> </item> + <item> + <key> <string>type_class</string> </key> + <value> <string>Organisation</string> </value> + </item> + <item> + <key> <string>type_interface</string> </key> + <value> + <tuple/> + </value> + </item> + <item> + <key> <string>type_mixin</string> </key> + <value> + <tuple/> + </value> + </item> + </dictionary> + </pickle> + </record> + <record id="2" aka="AAAAAAAAAAI="> + <pickle> + <global name="TranslationInformation" module="Products.ERP5Type.TranslationProviderBase"/> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>domain_name</string> </key> + <value> <string>erp5_content</string> </value> + </item> + <item> + <key> <string>property_name</string> </key> + <value> <string>short_title</string> </value> + </item> + </dictionary> + </pickle> + </record> + <record id="3" aka="AAAAAAAAAAM="> + <pickle> + <global name="TranslationInformation" module="Products.ERP5Type.TranslationProviderBase"/> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>domain_name</string> </key> + <value> <string>erp5_content</string> </value> + </item> + <item> + <key> <string>property_name</string> </key> + <value> <string>title</string> </value> + </item> </dictionary> </pickle> </record> diff --git a/bt5/erp5_base/SkinTemplateItem/portal_skins/erp5_base/organisation_icon.png.xml b/bt5/erp5_base/SkinTemplateItem/portal_skins/erp5_base/organisation_icon.png.xml new file mode 100644 index 0000000000..e5a1b77cb9 --- /dev/null +++ b/bt5/erp5_base/SkinTemplateItem/portal_skins/erp5_base/organisation_icon.png.xml @@ -0,0 +1,109 @@ +<?xml version="1.0"?> +<ZopeData> + <record id="1" aka="AAAAAAAAAAE="> + <pickle> + <global name="Image" module="OFS.Image"/> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>_Cacheable__manager_id</string> </key> + <value> <string>http_cache</string> </value> + </item> + <item> + <key> <string>_EtagSupport__etag</string> </key> + <value> <string>ts88876258.6</string> </value> + </item> + <item> + <key> <string>__name__</string> </key> + <value> <string>organisation_icon.png</string> </value> + </item> + <item> + <key> <string>content_type</string> </key> + <value> <string>image/png</string> </value> + </item> + <item> + <key> <string>data</string> </key> + <value> <string encoding="base64">iVBORw0KGgoAAAANSUhEUgAAAA8AAAAPCAYAAAA71pVKAAAKT2lDQ1BQaG90b3Nob3AgSUNDIHBy +b2ZpbGUAAHjanVNnVFPpFj333vRCS4iAlEtvUhUIIFJCi4AUkSYqIQkQSoghodkVUcERRUUEG8ig +iAOOjoCMFVEsDIoK2AfkIaKOg6OIisr74Xuja9a89+bN/rXXPues852zzwfACAyWSDNRNYAMqUIe +EeCDx8TG4eQuQIEKJHAAEAizZCFz/SMBAPh+PDwrIsAHvgABeNMLCADATZvAMByH/w/qQplcAYCE +AcB0kThLCIAUAEB6jkKmAEBGAYCdmCZTAKAEAGDLY2LjAFAtAGAnf+bTAICd+Jl7AQBblCEVAaCR +ACATZYhEAGg7AKzPVopFAFgwABRmS8Q5ANgtADBJV2ZIALC3AMDOEAuyAAgMADBRiIUpAAR7AGDI +IyN4AISZABRG8lc88SuuEOcqAAB4mbI8uSQ5RYFbCC1xB1dXLh4ozkkXKxQ2YQJhmkAuwnmZGTKB +NA/g88wAAKCRFRHgg/P9eM4Ors7ONo62Dl8t6r8G/yJiYuP+5c+rcEAAAOF0ftH+LC+zGoA7BoBt +/qIl7gRoXgugdfeLZrIPQLUAoOnaV/Nw+H48PEWhkLnZ2eXk5NhKxEJbYcpXff5nwl/AV/1s+X48 +/Pf14L7iJIEyXYFHBPjgwsz0TKUcz5IJhGLc5o9H/LcL//wd0yLESWK5WCoU41EScY5EmozzMqUi +iUKSKcUl0v9k4t8s+wM+3zUAsGo+AXuRLahdYwP2SycQWHTA4vcAAPK7b8HUKAgDgGiD4c93/+8/ +/UegJQCAZkmScQAAXkQkLlTKsz/HCAAARKCBKrBBG/TBGCzABhzBBdzBC/xgNoRCJMTCQhBCCmSA +HHJgKayCQiiG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jYCn+7GQBUGMMyiqWZgopi2K4Ly7ZgjIGMNFwbULGOE5M5DEhraACwDIXMZjrlURCGzGOG6s2I +iZgl124Z18lnFFEUoedHbK1naCPMsJnxDFY+S+ZlvLV9E85qYu1GVy7fqtvswfs+u1trfJwph0f2 +OM2rKQq+HayUzu8dzlUvHsq/ubHyffApLtxvAQBeP6/tv17rnE56nIeSADyDlAGEEFuGjx7jfySE +gJTiz4Yg8P+5RMoAPwARI+qL+y0n0gAAAABJRU5ErkJggg==</string> </value> + </item> + <item> + <key> <string>height</string> </key> + <value> <int>15</int> </value> + </item> + <item> + <key> <string>precondition</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>size</string> </key> + <value> <int>3283</int> </value> + </item> + <item> + <key> <string>title</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>width</string> </key> + <value> <int>15</int> </value> + </item> + </dictionary> + </pickle> + </record> +</ZopeData> diff --git a/bt5/erp5_base/bt/revision b/bt5/erp5_base/bt/revision index fb5f8f013c..6d706ee946 100644 --- a/bt5/erp5_base/bt/revision +++ b/bt5/erp5_base/bt/revision @@ -1 +1 @@ -890 \ No newline at end of file +892 \ No newline at end of file -- 2.30.9