Commit 3745fd97 authored by Bartek Górny's avatar Bartek Górny

Remove duplicates from css_list and js_list

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@20273 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 8051d9cf
......@@ -90,11 +90,10 @@ IDEAS:\n
</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
......
519
\ No newline at end of file
522
\ No newline at end of file
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment