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

18 lines
732 B
XML

<?xml version="1.0" encoding="utf-8"?>
<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>
</flectra>