Files
design-themes/theme_treehouse/views/snippets/s_picture.xml
T
qsm-odoo 08cb536b02 [FIX] theme_*: make s_picture image responsive by default
Some themes were making the s_picture image responsive on their own. It
is now done generically, so the theme extensions must be removed to be
able to merge.

task-3266862

closes odoo/design-themes#784

Related: odoo/odoo#157808
Signed-off-by: Quentin Smetz (qsm) <qsm@odoo.com>
2024-03-15 18:42:43 +00:00

24 lines
910 B
XML

<?xml version="1.0" encoding="utf-8"?>
<odoo>
<template id="s_picture" inherit_id="website.s_picture">
<!-- Section -->
<xpath expr="//section" position="attributes">
<attribute name="class" remove="o_cc o_cc2" separator=" "/>
</xpath>
<!-- Title -->
<xpath expr="//h2" position="replace" mode="inner">
Working Together
</xpath>
<!-- Image + Shape -->
<xpath expr="//img" position="attributes">
<attribute name="class" remove="img-thumbnail padding-large" separator=" "/>
<attribute name="src">/web_editor/image_shape/website.s_picture_default_image/web_editor/special/special_filter.svg</attribute>
<attribute name="data-file-name">01.svg</attribute>
<attribute name="data-shape">web_editor/special/special_filter</attribute>
<attribute name="data-shape-colors">;#046380;;;</attribute>
</xpath>
</template>
</odoo>