Commit 6766f5c3 authored by Ivan Tyagov's avatar Ivan Tyagov

Make a link from thumbnail to resp. normal PDF page.

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@38349 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 0a973366
......@@ -42,9 +42,11 @@
display python: request.get(\'display\', \'thumbnail\');\n
format python: request.get(\'format\', \n
context.portal_preferences.getPreference(\'preferred_image_format\', \'png\'))">\n
<img title="Thumbnail"\n
<a tal:attributes="href string:PDF_viewHTMLPreviewAsImage?selection_index=${frame}">\n
<img title="Thumbnail"\n
i18n:attributes="title" i18n:domain="ui"\n
tal:attributes="src string:index_html?display=${display}&format=${format}&frame=${frame}"/>\n
</a>\n
</tal:block>\n
......
1171
\ No newline at end of file
1172
\ 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