Commit 7d8002d5 authored by Ivan Tyagov's avatar Ivan Tyagov

Allow set CSS class for anonymous front page view.

By default make default KM footer a public document so KM is usable just by installing this bt5.
parent fd340567
......@@ -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>
......
......@@ -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
......
1836
\ No newline at end of file
1837
\ No newline at end of file
......@@ -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
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment