Commit ecfc4e2a authored by Ivan Tyagov's avatar Ivan Tyagov

CSS (listbox) fixes.

Use dedicated script to decide if "Add gadget" / "Stick Gadget" management bar can be show on current context.

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@35383 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 1889b00e
......@@ -323,7 +323,7 @@
<dictionary>
<item>
<key> <string>_text</string> </key>
<value> <string>python: not(context.portal_membership.isAnonymousUser())</string> </value>
<value> <string>here/Base_canUserAddGadget</string> </value>
</item>
</dictionary>
</pickle>
......
......@@ -14,7 +14,6 @@
<value>
<list>
<string>default</string>
<string>enabled</string>
</list>
</value>
</item>
......@@ -62,12 +61,6 @@
<persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent>
</value>
</item>
<item>
<key> <string>enabled</string> </key>
<value>
<persistent> <string encoding="base64">AAAAAAAAAAM=</string> </persistent>
</value>
</item>
<item>
<key> <string>field_id</string> </key>
<value> <string></string> </value>
......@@ -91,10 +84,6 @@
<key> <string>default</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>enabled</string> </key>
<value> <int>0</int> </value>
</item>
<item>
<key> <string>field_id</string> </key>
<value> <string>widget_management</string> </value>
......@@ -129,20 +118,4 @@
</dictionary>
</pickle>
</record>
<record id="3" aka="AAAAAAAAAAM=">
<pickle>
<tuple>
<global name="TALESMethod" module="Products.Formulator.TALESField"/>
<tuple/>
</tuple>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>_text</string> </key>
<value> <string>python: not(context.portal_membership.isAnonymousUser()) and context.REQUEST.get(\'your_search_text\', None) is None</string> </value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
......@@ -47,7 +47,7 @@
\n
/* Set new style for km left container */\n
#km_left {\n
width:auto !important;\n
/*width:auto !important;*/\n
min-width:75%;\n
/*background-color:#FFFFFF;\n
border:1px solid #D1D0C9;*/\n
......
1407
\ No newline at end of file
1410
\ 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