You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
23 lines
938 B
23 lines
938 B
<?xml version="1.0" encoding="utf-8"?>
|
|
<odoo>
|
|
<template id="event_attachments" inherit_id="website_event.event_description_full">
|
|
<xpath expr="//div[@class='col-md-4 css_noprint']/div[@class='panel panel-default'][1]" position="after">
|
|
<t t-if="attachments">
|
|
<div class="panel panel-default">
|
|
<div class="panel-heading">
|
|
<h4>Related Documents</h4>
|
|
</div>
|
|
<div class="panel-body">
|
|
|
|
<t t-foreach="attachments" t-as="attachment">
|
|
<a t-att-href="'/attachment/download?attachment_id=%i' % attachment.id">
|
|
<span t-esc="attachment.name" class="fa fa-download"/>
|
|
</a><br/>
|
|
</t>
|
|
</div>
|
|
|
|
</div>
|
|
</t>
|
|
</xpath>
|
|
</template>
|
|
</odoo>
|