Commit 6909d308 authored by Kazuhiko Shiozaki's avatar Kazuhiko Shiozaki

erp5_crm: fix EmailDocument_viewAttachmentListRenderer for renderjs UI.

also open a new window / tab.
parent d220132e
<tal:block tal:define="information_list here/getAttachmentInformationList">
<ul>
<li tal:repeat="information information_list">
<a tal:content="information/filename | information/uid" tal:attributes="href python:'getAttachmentData?index:int=%s' % information['index']"/>
<a target="_blank" tal:content="information/filename | information/uid" tal:attributes="href python:'%s/getAttachmentData?index:int=%s' % (context.absolute_url(), information['index'])"/>
(<tal:block tal:content="information/content_type" />)
</li>
</ul>
......
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