Author: jmorliaguet Date: Mon Oct 10 02:29:38 2005 New Revision: 28100 Modified: z3lab/cpsskins/branches/jmo-perspectives/browser/authoring/authoring_macros.pt z3lab/cpsskins/branches/jmo-perspectives/browser/authoring/filters/content/portlet_edit.pt Log:
- minor fixes Modified: z3lab/cpsskins/branches/jmo-perspectives/browser/authoring/authoring_macros.pt ============================================================================== --- z3lab/cpsskins/branches/jmo-perspectives/browser/authoring/authoring_macros.pt (original) +++ z3lab/cpsskins/branches/jmo-perspectives/browser/authoring/authoring_macros.pt Mon Oct 10 02:29:38 2005 @@ -96,7 +96,7 @@ <div class="separator"></div> - <a class="format context-menu-item"> + <a class="format context-menu-item" visible="formattable"> <tal:block i18n:translate="">menu-format</tal:block> <div class="context-submenu" action="format" expand="1" choice="formats"></div> Modified: z3lab/cpsskins/branches/jmo-perspectives/browser/authoring/filters/content/portlet_edit.pt ============================================================================== --- z3lab/cpsskins/branches/jmo-perspectives/browser/authoring/filters/content/portlet_edit.pt (original) +++ z3lab/cpsskins/branches/jmo-perspectives/browser/authoring/filters/content/portlet_edit.pt Mon Oct 10 02:29:38 2005 @@ -5,9 +5,9 @@ perspective info/perspective; display info/display; actual_display info/actual_display; - formats display/formattable:getFormatNames; + formats action_display/formattable:getFormatNames|python:[]; parent_type parent/elementtype; - editable python: str(parent_type) == 'ISlot'; + editable python: str(parent_type) == 'ISlot' and 1 or 0; title context/title; id view/getId;" tal:attributes=" -- http://lists.nuxeo.com/mailman/listinfo/z3lab-checkins