[PatchDiscussion] fix the plone 3 document actions display glitch - hide them

[email protected] (zwiki-repo)
Newsgroups gmane.comp.web.zope.zwiki
Message-ID <20080411223354.E40C578001__42250.0855559067$1207953321$gmane$org@mail.joyful.com>
Fri Apr 11 15:33:39 PDT 2008  Simon Michael <[email protected]>
  * fix the plone 3 document actions display glitch - hide them
diff -rN -u old-ZWiki/skins/zwiki/wikipage.pt new-ZWiki/skins/zwiki/wikipage.pt
--- old-ZWiki/skins/zwiki/wikipage.pt	2008-04-11 15:33:54.000000000 -0700
+++ new-ZWiki/skins/zwiki/wikipage.pt	2008-04-11 15:33:54.000000000 -0700
@@ -6,13 +6,13 @@
     <metal:block metal:fill-slot="head_slot">
       <metal:block metal:use-macro="here/macros/pagesearchtags" />
     </metal:block>
-    <!-- override plone styles via main_template's css_slot:  -->
-    <metal:block metal:fill-slot="css_slot">
+    <!-- plone style overrides -->
+    <metal:block metal:fill-slot="style_slot">
       <link rel="stylesheet" type="text/css" href=""
             tal:attributes="href string:${here/defaultPageUrl}/stylesheet"
             tal:condition="python:0 # add the full Zwiki stylesheet to plone's ? no" />
       <style type="text/css">
-        <!-- .documentActions {margin-top:0} /* fix layout in plone 2.0 */-->
+        .documentActions {display:none;}
       </style>
     </metal:block>
   </head>

--
forwarded from http://zwiki.org/PatchDiscussion#[email protected]
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.