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 @@ ...@@ -323,7 +323,7 @@
<dictionary> <dictionary>
<item> <item>
<key> <string>_text</string> </key> <key> <string>_text</string> </key>
<value> <string>python: not(context.portal_membership.isAnonymousUser())</string> </value> <value> <string>here/Base_canUserAddGadget</string> </value>
</item> </item>
</dictionary> </dictionary>
</pickle> </pickle>
......
...@@ -14,7 +14,6 @@ ...@@ -14,7 +14,6 @@
<value> <value>
<list> <list>
<string>default</string> <string>default</string>
<string>enabled</string>
</list> </list>
</value> </value>
</item> </item>
...@@ -62,12 +61,6 @@ ...@@ -62,12 +61,6 @@
<persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent> <persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent>
</value> </value>
</item> </item>
<item>
<key> <string>enabled</string> </key>
<value>
<persistent> <string encoding="base64">AAAAAAAAAAM=</string> </persistent>
</value>
</item>
<item> <item>
<key> <string>field_id</string> </key> <key> <string>field_id</string> </key>
<value> <string></string> </value> <value> <string></string> </value>
...@@ -91,10 +84,6 @@ ...@@ -91,10 +84,6 @@
<key> <string>default</string> </key> <key> <string>default</string> </key>
<value> <string></string> </value> <value> <string></string> </value>
</item> </item>
<item>
<key> <string>enabled</string> </key>
<value> <int>0</int> </value>
</item>
<item> <item>
<key> <string>field_id</string> </key> <key> <string>field_id</string> </key>
<value> <string>widget_management</string> </value> <value> <string>widget_management</string> </value>
...@@ -129,20 +118,4 @@ ...@@ -129,20 +118,4 @@
</dictionary> </dictionary>
</pickle> </pickle>
</record> </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> </ZopeData>
...@@ -47,7 +47,7 @@ ...@@ -47,7 +47,7 @@
\n \n
/* Set new style for km left container */\n /* Set new style for km left container */\n
#km_left {\n #km_left {\n
width:auto !important;\n /*width:auto !important;*/\n
min-width:75%;\n min-width:75%;\n
/*background-color:#FFFFFF;\n /*background-color:#FFFFFF;\n
border:1px solid #D1D0C9;*/\n border:1px solid #D1D0C9;*/\n
......
1407 1410
\ No newline at end of file \ 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