flectra/addons/website_payment/views/website_payment_templates.xml
2018-01-16 02:34:37 -08:00

16 lines
689 B
XML

<?xml version="1.0" encoding="utf-8"?>
<flectra>
<template id="header_footer_custom_payment" inherit_id="website.footer_default" customize_show="True" active="False" name="Payment Icons">
<xpath expr="//div[@id='info']" position="inside">
<h4 class="payment_method_title">Payment Icons</h4>
<ul class="payment_method_list list-inline">
<t t-foreach="request.website.payment_icons()" t-as="icon">
<li>
<span t-field="icon.image" t-options='{"widget": "image", "alt-field": "name"}' />
</li>
</t>
</ul>
</xpath>
</template>
</flectra>