[Erp5-report] r39552 ivan - in /erp5/trunk/bt5/erp5_knowledge_pad: SkinTemplateItem/portal_...
nobody at svn.erp5.org
nobody at svn.erp5.org
Wed Oct 27 09:15:45 CEST 2010
Author: ivan
Date: Wed Oct 27 09:15:40 2010
New Revision: 39552
URL: http://svn.erp5.org?rev=39552&view=rev
Log:
Set base class and "anonymous" undraggable class. Calculate only once its value.
Modified:
erp5/trunk/bt5/erp5_knowledge_pad/SkinTemplateItem/portal_skins/erp5_knowledge_pad_web/WebSection_viewDashboardWidget.xml
erp5/trunk/bt5/erp5_knowledge_pad/bt/revision
Modified: erp5/trunk/bt5/erp5_knowledge_pad/SkinTemplateItem/portal_skins/erp5_knowledge_pad_web/WebSection_viewDashboardWidget.xml
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_knowledge_pad/SkinTemplateItem/portal_skins/erp5_knowledge_pad_web/WebSection_viewDashboardWidget.xml?rev=39552&r1=39551&r2=39552&view=diff
==============================================================================
--- erp5/trunk/bt5/erp5_knowledge_pad/SkinTemplateItem/portal_skins/erp5_knowledge_pad_web/WebSection_viewDashboardWidget.xml [utf8] (original)
+++ erp5/trunk/bt5/erp5_knowledge_pad/SkinTemplateItem/portal_skins/erp5_knowledge_pad_web/WebSection_viewDashboardWidget.xml [utf8] Wed Oct 27 09:15:40 2010
@@ -43,7 +43,10 @@
isAnon python: here.portal_membership.isAnonymousUser();\n
columns python: options.get(\'columns\', 3);\n
is_tab_empty python: (len(layout)==1 and len(layout[0])==0) or\n
- (len(layout)==3 and len(layout[0]+layout[1]+layout[2])==0) ">\n
+ (len(layout)==3 and len(layout[0]+layout[1]+layout[2])==0);\n
+ column_css_class python: test(isAnon, \n
+ \'portal-column portal-column-undraggable\', \n
+ \'portal-column\')">\n
\n
<div tal:condition="python: is_tab_empty and not isAnon">\n
<h4 i18n:translate="" \n
@@ -54,9 +57,7 @@
</div>\n
\n
<div id="portal-column-0"\n
- tal:attributes="class python: test(isAnon, \n
- \'portal-column-undraggable\', \n
- \'portal-column\')"\n
+ tal:attributes="class column_css_class"\n
tal:condition="python: columns>=1">\n
<tal:block tal:condition="python: columns==1">\n
<span \n
@@ -74,9 +75,7 @@
</div>\n
\n
<div id="portal-column-1"\n
- tal:attributes="class python: test(isAnon, \n
- \'portal-column-undraggable\', \n
- \'portal-column\')"\n
+ tal:attributes="class column_css_class"\n
tal:condition="python: columns>=2">\n
<tal:block tal:condition="python: len(layout)>=2">\n
<span tal:replace="structure python:\n
@@ -87,9 +86,7 @@
</div>\n
\n
<div id="portal-column-2"\n
- tal:attributes="class python: test(isAnon, \n
- \'portal-column-undraggable\', \n
- \'portal-column\')"\n
+ tal:attributes="class column_css_class"\n
tal:condition="python: columns>=3">\n
<tal:block tal:condition="python: len(layout)>=3">\n
<span tal:replace="structure python:\n
Modified: erp5/trunk/bt5/erp5_knowledge_pad/bt/revision
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_knowledge_pad/bt/revision?rev=39552&r1=39551&r2=39552&view=diff
==============================================================================
--- erp5/trunk/bt5/erp5_knowledge_pad/bt/revision [utf8] (original)
+++ erp5/trunk/bt5/erp5_knowledge_pad/bt/revision [utf8] Wed Oct 27 09:15:40 2010
@@ -1 +1 @@
-587
\ No newline at end of file
+588
\ No newline at end of file
More information about the Erp5-report
mailing list