Author: jmorliaguet
Date: Sun Oct  9 20:48:25 2005
New Revision: 28092

Modified:
   
z3lab/cpsskins/branches/jmo-perspectives/browser/authoring/filters/pageblock_edit_layout.pt
Log:

- code simplification and more WYSIWYG rendering of pageblocks



Modified: 
z3lab/cpsskins/branches/jmo-perspectives/browser/authoring/filters/pageblock_edit_layout.pt
==============================================================================
--- 
z3lab/cpsskins/branches/jmo-perspectives/browser/authoring/filters/pageblock_edit_layout.pt
 (original)
+++ 
z3lab/cpsskins/branches/jmo-perspectives/browser/authoring/filters/pageblock_edit_layout.pt
 Sun Oct  9 20:48:25 2005
@@ -12,7 +12,13 @@
     this_id view/getId;
     layout_id layout/getIdentifier;
     width layout/width">
-  <table cellpadding="0" cellspacing="0"
+
+  <table tal:condition="not:mode_is_layout" cellpadding="0" cellspacing="0"
+   tal:attributes="width width">
+    <tr tal:content="structure options/rendered" />
+  </table>
+
+  <table tal:condition="mode_is_layout" cellpadding="0" cellspacing="0"
    class="pageBlockEdit editable shiftable" constraint="vertical"
    tal:attributes="
      editable python:1;
@@ -22,7 +28,7 @@
      width width;
      id this_id">
     <tr>
-      <td tal:condition="mode_is_layout">
+      <td>
         <form class="pageBlockEditHeader" grip="1" action="javascript:void(0)">
           <input class="editable" name="title" type="text" size="15"
           tal:attributes="value title;
@@ -43,9 +49,7 @@
     <tr>
       <td>
         <table cellpadding="0" cellspacing="0" width="100%"
-          class="pageBlockEdit editable shiftable" constraint="vertical"
           tal:attributes="editable python:1;
-                          customizable not:actual_display;
                           folder_editable python:1;
                           id this_id">
           <tr tal:content="structure options/rendered" />
-- 
http://lists.nuxeo.com/mailman/listinfo/z3lab-checkins

Reply via email to