diff --git a/bt5/erp5_km/PathTemplateItem/web_page_module/minimal_km_footer.xml b/bt5/erp5_km/PathTemplateItem/web_page_module/minimal_km_footer.xml index 06b462286e47d879fcc13395f315e20ae79e86b9..9cf966f12273099ba369f8e4dd2a2495c1abdd6a 100644 --- a/bt5/erp5_km/PathTemplateItem/web_page_module/minimal_km_footer.xml +++ b/bt5/erp5_km/PathTemplateItem/web_page_module/minimal_km_footer.xml @@ -119,6 +119,118 @@ <key> <string>version</string> </key> <value> <string>001</string> </value> </item> + <item> + <key> <string>workflow_history</string> </key> + <value> + <persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent> + </value> + </item> + </dictionary> + </pickle> + </record> + <record id="2" aka="AAAAAAAAAAI="> + <pickle> + <global name="PersistentMapping" module="Persistence.mapping"/> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>data</string> </key> + <value> + <dictionary> + <item> + <key> <string>document_publication_workflow</string> </key> + <value> + <persistent> <string encoding="base64">AAAAAAAAAAM=</string> </persistent> + </value> + </item> + </dictionary> + </value> + </item> + </dictionary> + </pickle> + </record> + <record id="3" aka="AAAAAAAAAAM="> + <pickle> + <global name="WorkflowHistoryList" module="Products.ERP5Type.patches.WorkflowTool"/> + </pickle> + <pickle> + <tuple> + <none/> + <list> + <dictionary> + <item> + <key> <string>action</string> </key> + <value> <string>publish_action</string> </value> + </item> + <item> + <key> <string>actor</string> </key> + <value> <string>superi</string> </value> + </item> + <item> + <key> <string>comment</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>error_message</string> </key> + <value> + <list> + <persistent> <string encoding="base64">AAAAAAAAAAQ=</string> </persistent> + </list> + </value> + </item> + <item> + <key> <string>time</string> </key> + <value> + <object> + <klass> + <global name="DateTime" module="DateTime.DateTime"/> + </klass> + <tuple> + <none/> + </tuple> + <state> + <tuple> + <float>1322040891.87</float> + <string>GMT+2</string> + </tuple> + </state> + </object> + </value> + </item> + <item> + <key> <string>validation_state</string> </key> + <value> <string>draft</string> </value> + </item> + </dictionary> + </list> + </tuple> + </pickle> + </record> + <record id="4" aka="AAAAAAAAAAQ="> + <pickle> + <global name="Message" module="Products.ERP5Type.Message"/> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>default</string> </key> + <value> <string>Follow Up or Group must be defined</string> </value> + </item> + <item> + <key> <string>domain</string> </key> + <value> <string>erp5_ui</string> </value> + </item> + <item> + <key> <string>mapping</string> </key> + <value> + <dictionary/> + </value> + </item> + <item> + <key> <string>message</string> </key> + <value> <string>Follow Up or Group must be defined</string> </value> + </item> </dictionary> </pickle> </record> diff --git a/bt5/erp5_km/SkinTemplateItem/portal_skins/erp5_km_theme/WebSite_viewKnowledgePad.xml b/bt5/erp5_km/SkinTemplateItem/portal_skins/erp5_km_theme/WebSite_viewKnowledgePad.xml index 7f0973cf55a30cdb13b0f6cd3e099c7897254fc1..2bfd7217b0d8e67d00c0ba749c77c65d6e51ab19 100644 --- a/bt5/erp5_km/SkinTemplateItem/portal_skins/erp5_km_theme/WebSite_viewKnowledgePad.xml +++ b/bt5/erp5_km/SkinTemplateItem/portal_skins/erp5_km_theme/WebSite_viewKnowledgePad.xml @@ -63,8 +63,9 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.\n <tal:block metal:define-macro="master"\n tal:define="dummy python:request.set(\'layout_form_id\', \'erp5_km_minimal_front_layout\')">\n <tal:block metal:use-macro="here/main_template/macros/master">\n - <tal:block metal:fill-slot="main">\n - <div class="front_pad">\n + <tal:block metal:fill-slot="main"\n + tal:define="isAnon python: here.portal_membership.isAnonymousUser()">\n + <div tal:attributes="class python: test(isAnon, \'front_pad front_pad_anonymous\', \'front_pad\') ">\n <div tal:define="force_anonymous python:context.getLayoutProperty(\'layout_force_anonymous_gadget\',False)"\n tal:content="structure python: here.ERP5Site_viewHomeAreaRenderer(mode=\'web_front\', \n default_pad_group=\'\',\n diff --git a/bt5/erp5_km/bt/revision b/bt5/erp5_km/bt/revision index d081bc1222132b8b9c22a92560e2f32c8dceabc1..1f057f434838bbe98f7e69f87a83a77108a95111 100644 --- a/bt5/erp5_km/bt/revision +++ b/bt5/erp5_km/bt/revision @@ -1 +1 @@ -1836 \ No newline at end of file +1837 \ No newline at end of file diff --git a/bt5/erp5_km/bt/template_keep_workflow_path_list b/bt5/erp5_km/bt/template_keep_workflow_path_list index 022959a93db7a387327ee265d86b072fa6b5485e..063ab606ca11936cdb1ccf2310370c44099450e8 100644 --- a/bt5/erp5_km/bt/template_keep_workflow_path_list +++ b/bt5/erp5_km/bt/template_keep_workflow_path_list @@ -24,4 +24,5 @@ portal_gadgets/km_subsection/** portal_gadgets/km_tagged_document portal_gadgets/km_tagged_document/** portal_gadgets/web_site_browser -portal_gadgets/web_site_browser/** \ No newline at end of file +portal_gadgets/web_site_browser/** +web_page_module/minimal_km_footer \ No newline at end of file