mirror of
https://github.com/odoo/design-themes.git
synced 2025-10-07 01:18:52 +07:00
[IMP] theme_*: adapt s_timeline_images to themes
theme_anelusia, theme_artists, theme_buzzy, theme_nano, theme_yes This commit adapt the `s_timeline_images` snippet to the themes. task-4105285 Part of task-4077427 closes odoo/design-themes#995 Related: odoo/odoo#184760 Signed-off-by: Ivan Klapka (ivkl) <ivkl@odoo.com>
This commit is contained in:
@@ -59,6 +59,7 @@
|
||||
'views/snippets/s_image_punchy.xml',
|
||||
'views/snippets/s_striped_center_top.xml',
|
||||
'views/snippets/s_company_team_card.xml',
|
||||
'views/snippets/s_timeline_images.xml',
|
||||
'views/snippets/s_image_title.xml',
|
||||
'views/snippets/s_key_images.xml',
|
||||
'views/snippets/s_big_number.xml',
|
||||
|
||||
@@ -0,0 +1,15 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<odoo>
|
||||
|
||||
<template id="s_timeline_images" inherit_id="website.s_timeline_images">
|
||||
<!-- Milestone #1-->
|
||||
<xpath expr="//span[hasclass('o_dot')]" position="attributes">
|
||||
<attribute name="class" add="text-o-color-2" remove="text-o-color-1" separator=" "/>
|
||||
</xpath>
|
||||
<!-- Milestone #2 -->
|
||||
<xpath expr="(//span[hasclass('o_dot')])[2]" position="attributes">
|
||||
<attribute name="class" add="text-o-color-2" remove="text-o-color-1" separator=" "/>
|
||||
</xpath>
|
||||
</template>
|
||||
|
||||
</odoo>
|
||||
Reference in New Issue
Block a user