mirror of
https://github.com/odoo/design-themes.git
synced 2025-10-07 01:18:52 +07:00
88b06392a3
*: theme_bewise, theme_cobalt, theme_kiddo, theme_loftspace, theme_monglia, theme_nano, theme_notes, theme_odoo_experts, theme_orchid, theme_paptic, theme_yes, theme_zap Multiple snippet template where changed to ensure that the title is not considered as a column and allowing changing the nb of columns again. This commit adapts all the xpath that were impacted by those changes. task-4310468 closes odoo/design-themes#1047 Related: odoo/odoo#195409 Signed-off-by: Quentin Smetz (qsm) <qsm@odoo.com>
25 lines
963 B
XML
25 lines
963 B
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<odoo>
|
|
|
|
<template id="s_striped" inherit_id="website.s_striped">
|
|
<!-- Section -->
|
|
<xpath expr="//section" position="attributes">
|
|
<attribute name="class" add="pb0" remove="pb96" separator=" "/>
|
|
</xpath>
|
|
<!-- Section -->
|
|
<xpath expr="//div[hasclass('row')]" position="attributes">
|
|
<attribute name="class" add="o_grid_mode" separator=" "/>
|
|
<attribute name="data-row-count">14</attribute>
|
|
</xpath>
|
|
<!-- Remove the title -->
|
|
<xpath expr="//h2" position="replace"/>
|
|
<xpath expr="//p" position="replace"/>
|
|
|
|
<xpath expr="//div[hasclass('row')]/div" position="attributes">
|
|
<attribute name="class" add="o_grid_item o_grid_item_image g-col-lg-8 g-height-12" remove="pt24 pb24" separator=" "/>
|
|
<attribute name="style" add="grid-area: 3 / 1 / 15 / 9; --grid-item-padding-y: 0px; --grid-item-padding-x: 0px;" separator=";"/>
|
|
</xpath>
|
|
</template>
|
|
|
|
</odoo>
|