Commit dc4b6cb4 authored by Kazuhiko Shiozaki's avatar Kazuhiko Shiozaki

improve the code, suggested by Vincent.

parent ebfee26b
......@@ -46,7 +46,7 @@
format python: here.getObject().portal_preferences.getPreference(\'preferred_image_format\', \'png\');\n
description python: here.getDescription();\n
box_relative_url python: request.get(\'box_relative_url\', \'\');\n
dom_id python: modules[\'base64\'].urlsafe_b64encode(\'%s-%s\' %(box_relative_url, here.getUid())).replace(\'=\', \'\')">\n
dom_id python: modules[\'base64\'].urlsafe_b64encode(\'%s-%s\' %(box_relative_url, here.getUid())).rstrip(\'=\')">\n
<div class="document-gadget-quick-preview">\n
<div class="teaser"\n
tal:attributes="onclick string:$(\'#${dom_id}\').toggle();">\n
......
1064
\ No newline at end of file
1065
\ 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