flectra/addons/website_rating/views/website_rating_templates.xml

18 lines
732 B
XML
Raw Normal View History

<?xml version="1.0" encoding="utf-8"?>
2018-01-16 11:34:37 +01:00
<flectra>
<template id="assets_frontend" inherit_id="website.assets_frontend" name="Website rating frontend assets">
<xpath expr="." position="inside">
<script type="text/javascript" src="/website_rating/static/src/js/website_mail.js"></script>
<link type="text/less" rel='stylesheet' href='/website_rating/static/src/less/website_rating.less'/>
</xpath>
</template>
<template id="message_thread" inherit_id="portal.message_thread">
<xpath expr="//div[@id='discussion']" position="attributes">
<attribute name="t-att-data-display_rating">display_rating or False</attribute>
</xpath>
</template>
2018-01-16 11:34:37 +01:00
</flectra>