addons-cm/survey_score_ranges/views/survey_templates.xml

13 lines
563 B
XML

<?xml version="1.0" encoding="utf-8"?>
<odoo>
<!-- Inherit finished template to inject range result -->
<template id="survey_fill_form_done_inherit_score_ranges" inherit_id="survey.survey_fill_form_done">
<xpath expr="//div[@class='o_survey_finished mt32 mb32']/div[@class='row']/div[@class='col']" position="inside">
<t t-if="survey.enable_score_ranges and answer.result_range_html">
<div class="o_survey_score_range_result mt-3">
<t t-raw="answer.result_range_html"/>
</div>
</t>
</xpath>
</template>
</odoo>