[Erp5-report] r20273 - in /erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style: SkinTemplat...
nobody at svn.erp5.org
nobody at svn.erp5.org
Wed Apr 2 14:50:47 CEST 2008
Author: bartek
Date: Wed Apr 2 14:50:46 2008
New Revision: 20273
URL: http://svn.erp5.org?rev=20273&view=rev
Log:
Remove duplicates from css_list and js_list
Modified:
erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_xhtml_style/template_erp5_xhtml_style.xml
erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style/bt/revision
Modified: erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_xhtml_style/template_erp5_xhtml_style.xml
URL: http://svn.erp5.org/erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_xhtml_style/template_erp5_xhtml_style.xml?rev=20273&r1=20272&r2=20273&view=diff
==============================================================================
--- erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_xhtml_style/template_erp5_xhtml_style.xml (original)
+++ erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_xhtml_style/template_erp5_xhtml_style.xml Wed Apr 2 14:50:46 2008
@@ -90,11 +90,10 @@
</tal:block>\n
</tal:block>\n
</tal:block>\n
- <!-- May need to remove duplicates -->\n
- <tal:block tal:repeat="css css_list">\n
+ <tal:block tal:repeat="css python: {}.fromkeys(css_list).keys()">\n
<link tal:attributes="href css" type="text/css" rel="stylesheet" />\n
</tal:block>\n
- <tal:block tal:repeat="js js_list">\n
+ <tal:block tal:repeat="js python: {}.fromkeys(js_list).keys()">\n
<script tal:attributes="src js" type="text/javascript"></script>\n
</tal:block>\n
<link rel="icon" tal:attributes="href string:${portal_path}/favicon.ico" type="image/x-icon" />\n
Modified: erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style/bt/revision
URL: http://svn.erp5.org/erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style/bt/revision?rev=20273&r1=20272&r2=20273&view=diff
==============================================================================
--- erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style/bt/revision (original)
+++ erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style/bt/revision Wed Apr 2 14:50:46 2008
@@ -1,1 +1,1 @@
-519
+522
More information about the Erp5-report
mailing list