Skip to content

Commit

Permalink
[IMP] theme_anelusia, *: adapt s_carousel_cards
Browse files Browse the repository at this point in the history
*: theme_aviato, theme_beauty, theme_bewise, theme_bistro,
theme_bookstore, theme_buzzy, theme_clean, theme_cobalt, theme_enark,
theme_graphene, theme_kea, theme_kiddo, theme_monglia, theme_nano,
theme_notes, theme_odoo_experts, theme_orchid, theme_paptic,
theme_real_estate, theme_treehouse, theme_vehicle, theme_yes, theme_zap,
test_themes

This commit adapts customizations for `s_carousel_cards`.

task-4094405
Part of task-4077427
  • Loading branch information
Brieuc-brd committed Nov 6, 2024
1 parent f63862f commit e5dacac
Show file tree
Hide file tree
Showing 30 changed files with 438 additions and 0 deletions.
1 change: 1 addition & 0 deletions test_themes/tests/test_new_page_templates.py
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,7 @@
's_blockquote_with_icon', 's_blockquote',
's_carousel_default', 's_carousel_rounded', 's_carousel_boxed',
's_carousel_indicators_dots', 's_carousel_indicators_hidden', 's_carousel_controllers_indicators_outside',
's_carousel_cards_with_img', 's_carousel_cards_card',
's_quotes_carousel',
's_dynamic', 's_dynamic_empty',
's_dynamic_snippet_blog_posts', 's_blog_posts_effect_marley', 's_blog_post_big_picture', 's_blog_posts_post_picture_size_default',
Expand Down
15 changes: 15 additions & 0 deletions theme_anelusia/views/images_library.xml
Original file line number Diff line number Diff line change
Expand Up @@ -132,6 +132,21 @@
<field name="name">website.s_carousel_intro_default_image_3</field>
<field name="url">/theme_anelusia/static/src/img/snippets/s_quotes_carousel_2.jpg</field>
</record>
<record id="s_carousel_cards_default_image_1" model="theme.ir.attachment">
<field name="key">website.s_carousel_cards_default_image_1</field>
<field name="name">website.s_carousel_cards_default_image_1</field>
<field name="url">/theme_anelusia/static/src/img/snippets/s_carousel_1.jpg</field>
</record>
<record id="s_carousel_cards_default_image_2" model="theme.ir.attachment">
<field name="key">website.s_carousel_cards_default_image_2</field>
<field name="name">website.s_carousel_cards_default_image_2</field>
<field name="url">/theme_anelusia/static/src/img/snippets/s_carousel_2.jpg</field>
</record>
<record id="s_carousel_cards_default_image_3" model="theme.ir.attachment">
<field name="key">website.s_carousel_cards_default_image_3</field>
<field name="name">website.s_carousel_cards_default_image_3</field>
<field name="url">/theme_anelusia/static/src/img/snippets/s_carousel_3.jpg</field>
</record>
<record id="s_media_list_default_image_1" model="theme.ir.attachment">
<field name="key">website.s_media_list_default_image_1</field>
<field name="name">website.s_media_list_default_image_1</field>
Expand Down
1 change: 1 addition & 0 deletions theme_artists/__manifest__.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@
'views/snippets/s_cards_soft.xml',
'views/snippets/s_carousel.xml',
'views/snippets/s_carousel_intro.xml',
'views/snippets/s_carousel_cards.xml',
'views/snippets/s_cta_mockups.xml',
'views/snippets/s_cta_card.xml',
'views/snippets/s_faq_list.xml',
Expand Down
15 changes: 15 additions & 0 deletions theme_artists/views/images.xml
Original file line number Diff line number Diff line change
Expand Up @@ -135,6 +135,21 @@ Check in theme_monglia's primary_variables.scss, theme.scss and theme_common's m
<field name="name">website.s_carousel_intro_default_image_3</field>
<field name="url">/theme_artists/static/src/img/snippets/library_image_05.jpg</field>
</record>
<record id="s_carousel_cards_default_image_1" model="theme.ir.attachment">
<field name="key">website.s_carousel_cards_default_image_1</field>
<field name="name">website.s_carousel_cards_default_image_1</field>
<field name="url">/theme_artists/static/src/img/snippets/s_carousel_1.jpg</field>
</record>
<record id="s_carousel_cards_default_image_2" model="theme.ir.attachment">
<field name="key">website.s_carousel_cards_default_image_2</field>
<field name="name">website.s_carousel_cards_default_image_2</field>
<field name="url">/theme_artists/static/src/img/snippets/s_carousel_2.jpg</field>
</record>
<record id="s_carousel_cards_default_image_3" model="theme.ir.attachment">
<field name="key">website.s_carousel_cards_default_image_3</field>
<field name="name">website.s_carousel_cards_default_image_3</field>
<field name="url">/theme_artists/static/src/img/snippets/s_carousel_3.jpg</field>
</record>
<record id="s_media_list_default_image_1" model="theme.ir.attachment">
<field name="key">website.s_media_list_default_image_1</field>
<field name="name">website.s_media_list_default_image_1</field>
Expand Down
13 changes: 13 additions & 0 deletions theme_artists/views/snippets/s_carousel_cards.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
<?xml version="1.0" encoding="utf-8"?>
<odoo>

<template id="s_carousel_cards" inherit_id="website.s_carousel_cards">
<xpath expr="//section" position="attributes">
<attribute name="class" add="o_cc o_cc5" separator=" "/>
</xpath>
<xpath expr="(//div[hasclass('s_carousel_cards_card')])[2]" position="attributes">
<attribute name="class" add="o_cc4" remove="o_cc5" separator=" "/>
</xpath>
</template>

</odoo>
15 changes: 15 additions & 0 deletions theme_avantgarde/views/images_library.xml
Original file line number Diff line number Diff line change
Expand Up @@ -217,6 +217,21 @@ Check in images.scss, primary_variables.scss, main.scss and theme_common's mixin
<field name="name">website.s_carousel_intro_default_image_3</field>
<field name="url">/theme_avantgarde/static/src/img/pictures/bg_image_08.jpg</field>
</record>
<record id="s_carousel_cards_default_image_1" model="theme.ir.attachment">
<field name="key">website.s_carousel_cards_default_image_1</field>
<field name="name">website.s_carousel_cards_default_image_1</field>
<field name="url">/theme_avantgarde/static/src/img/pictures/bg_image_28.jpg</field>
</record>
<record id="s_carousel_cards_default_image_2" model="theme.ir.attachment">
<field name="key">website.s_carousel_cards_default_image_2</field>
<field name="name">website.s_carousel_cards_default_image_2</field>
<field name="url">/theme_avantgarde/static/src/img/pictures/bg_image_29.jpg</field>
</record>
<record id="s_carousel_cards_default_image_3" model="theme.ir.attachment">
<field name="key">website.s_carousel_cards_default_image_3</field>
<field name="name">website.s_carousel_cards_default_image_3</field>
<field name="url">/theme_avantgarde/static/src/img/pictures/bg_image_30.jpg</field>
</record>
<record id="s_media_list_default_image_1" model="theme.ir.attachment">
<field name="key">website.s_media_list_default_image_1</field>
<field name="name">website.s_media_list_default_image_1</field>
Expand Down
17 changes: 17 additions & 0 deletions theme_aviato/views/images_library.xml
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,23 @@
<field name="url">/theme_aviato/static/src/img/content/s_quote_bg_3.jpg</field>
</record>

<!-- Carousel Cards -->
<record id="s_carousel_cards_default_image_1" model="theme.ir.attachment">
<field name="key">website.s_carousel_cards_default_image_1</field>
<field name="name">website.s_carousel_cards_default_image_1</field>
<field name="url">/theme_aviato/static/src/img/content/s_carousel_1.jpg</field>
</record>
<record id="s_carousel_cards_default_image_2" model="theme.ir.attachment">
<field name="key">website.s_carousel_cards_default_image_2</field>
<field name="name">website.s_carousel_cards_default_image_2</field>
<field name="url">/theme_aviato/static/src/img/content/s_carousel_2.jpg</field>
</record>
<record id="s_carousel_cards_default_image_3" model="theme.ir.attachment">
<field name="key">website.s_carousel_cards_default_image_3</field>
<field name="name">website.s_carousel_cards_default_image_3</field>
<field name="url">/theme_aviato/static/src/img/content/s_carousel_3.jpg</field>
</record>

<!-- Media List -->
<record id="s_media_list_default_image_1" model="theme.ir.attachment">
<field name="key">website.s_media_list_default_image_1</field>
Expand Down
15 changes: 15 additions & 0 deletions theme_beauty/views/images.xml
Original file line number Diff line number Diff line change
Expand Up @@ -165,6 +165,21 @@ Check in theme_loftspace's primary_variables.scss and theme.scss -->
<field name="name">website.s_carousel_intro_default_image_3</field>
<field name="url">/theme_beauty/static/src/img/snippets/library_image_02.jpg</field>
</record>
<record id="s_carousel_cards_default_image_1" model="theme.ir.attachment">
<field name="key">website.s_carousel_cards_default_image_1</field>
<field name="name">website.s_carousel_cards_default_image_1</field>
<field name="url">/theme_beauty/static/src/img/snippets/s_carousel_1.jpg</field>
</record>
<record id="s_carousel_cards_default_image_2" model="theme.ir.attachment">
<field name="key">website.s_carousel_cards_default_image_2</field>
<field name="name">website.s_carousel_cards_default_image_2</field>
<field name="url">/theme_beauty/static/src/img/snippets/s_carousel_2.jpg</field>
</record>
<record id="s_carousel_cards_default_image_3" model="theme.ir.attachment">
<field name="key">website.s_carousel_cards_default_image_3</field>
<field name="name">website.s_carousel_cards_default_image_3</field>
<field name="url">/theme_beauty/static/src/img/snippets/s_carousel_3.jpg</field>
</record>
<record id="s_media_list_default_image_1" model="theme.ir.attachment">
<field name="key">website.s_media_list_default_image_1</field>
<field name="name">website.s_media_list_default_image_1</field>
Expand Down
15 changes: 15 additions & 0 deletions theme_bewise/views/image_content.xml
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,21 @@
<field name="name">website.s_carousel_intro_default_image_3</field>
<field name="url">/theme_bewise/static/src/img/backgrounds/college_bg_2.jpg</field>
</record>
<record id="s_carousel_cards_default_image_1" model="theme.ir.attachment">
<field name="key">website.s_carousel_cards_default_image_1</field>
<field name="name">website.s_carousel_cards_default_image_1</field>
<field name="url">/theme_bewise/static/src/img/content/college_carousel_1.jpg</field>
</record>
<record id="s_carousel_cards_default_image_2" model="theme.ir.attachment">
<field name="key">website.s_carousel_cards_default_image_2</field>
<field name="name">website.s_carousel_cards_default_image_2</field>
<field name="url">/theme_bewise/static/src/img/content/college_carousel_2.jpg</field>
</record>
<record id="s_carousel_cards_default_image_3" model="theme.ir.attachment">
<field name="key">website.s_carousel_cards_default_image_3</field>
<field name="name">website.s_carousel_cards_default_image_3</field>
<field name="url">/theme_bewise/static/src/img/content/college_carousel_3.jpg</field>
</record>
<record id="s_media_list_default_image_1" model="theme.ir.attachment">
<field name="key">website.s_media_list_default_image_1</field>
<field name="name">website.s_media_list_default_image_1</field>
Expand Down
17 changes: 17 additions & 0 deletions theme_bistro/views/images_library.xml
Original file line number Diff line number Diff line change
Expand Up @@ -233,6 +233,23 @@
<field name="url">/theme_bistro/static/src/img/backgrounds/02.jpg</field>
</record>

<!-- Carousel Cards -->
<record id="s_carousel_cards_default_image_1" model="theme.ir.attachment">
<field name="key">website.s_carousel_cards_default_image_1</field>
<field name="name">website.s_carousel_cards_default_image_1</field>
<field name="url">/theme_bistro/static/src/img/backgrounds/18.jpg</field>
</record>
<record id="s_carousel_cards_default_image_2" model="theme.ir.attachment">
<field name="key">website.s_carousel_cards_default_image_2</field>
<field name="name">website.s_carousel_cards_default_image_2</field>
<field name="url">/theme_bistro/static/src/img/backgrounds/05.jpg</field>
</record>
<record id="s_carousel_cards_default_image_3" model="theme.ir.attachment">
<field name="key">website.s_carousel_cards_default_image_3</field>
<field name="name">website.s_carousel_cards_default_image_3</field>
<field name="url">/theme_bistro/static/src/img/backgrounds/07.jpg</field>
</record>

<!-- Quotes Carousel -->
<record id="s_quotes_carousel_demo_image_1" model="theme.ir.attachment">
<field name="key">website.s_quotes_carousel_demo_image_1</field>
Expand Down
15 changes: 15 additions & 0 deletions theme_bookstore/views/images.xml
Original file line number Diff line number Diff line change
Expand Up @@ -166,6 +166,21 @@ Check in theme_loftspace's primary_variables.scss and theme.scss -->
<field name="name">website.s_carousel_intro_default_image_3</field>
<field name="url">/theme_bookstore/static/src/img/snippets/s_product_catalog.jpg</field>
</record>
<record id="s_carousel_cards_default_image_1" model="theme.ir.attachment">
<field name="key">website.s_carousel_cards_default_image_1</field>
<field name="name">website.s_carousel_cards_default_image_1</field>
<field name="url">/theme_bookstore/static/src/img/snippets/s_carousel_1.jpg</field>
</record>
<record id="s_carousel_cards_default_image_2" model="theme.ir.attachment">
<field name="key">website.s_carousel_cards_default_image_2</field>
<field name="name">website.s_carousel_cards_default_image_2</field>
<field name="url">/theme_bookstore/static/src/img/snippets/s_carousel_2.jpg</field>
</record>
<record id="s_carousel_cards_default_image_3" model="theme.ir.attachment">
<field name="key">website.s_carousel_cards_default_image_3</field>
<field name="name">website.s_carousel_cards_default_image_3</field>
<field name="url">/theme_bookstore/static/src/img/snippets/s_carousel_3.jpg</field>
</record>
<record id="s_media_list_default_image_1" model="theme.ir.attachment">
<field name="key">website.s_media_list_default_image_1</field>
<field name="name">website.s_media_list_default_image_1</field>
Expand Down
16 changes: 16 additions & 0 deletions theme_buzzy/views/images_library.xml
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,22 @@
<field name="name">website.s_carousel_intro_default_image_3</field>
<field name="url">/theme_buzzy/static/src/img/photos/library_image_08.jpg</field>
</record>
<!-- Carousel Cards -->
<record id="s_carousel_cards_default_image_1" model="theme.ir.attachment">
<field name="key">website.s_carousel_cards_default_image_1</field>
<field name="name">website.s_carousel_cards_default_image_1</field>
<field name="url">/theme_buzzy/static/src/img/photos/s_carousel_default_image_1.jpg</field>
</record>
<record id="s_carousel_cards_default_image_2" model="theme.ir.attachment">
<field name="key">website.s_carousel_cards_default_image_2</field>
<field name="name">website.s_carousel_cards_default_image_2</field>
<field name="url">/theme_buzzy/static/src/img/photos/s_carousel_default_image_2.jpg</field>
</record>
<record id="s_carousel_cards_default_image_3" model="theme.ir.attachment">
<field name="key">website.s_carousel_cards_default_image_3</field>
<field name="name">website.s_carousel_cards_default_image_3</field>
<field name="url">/theme_buzzy/static/src/img/photos/s_carousel_default_image_3.jpg</field>
</record>
<!-- Popup -->
<record id="s_popup_default_image" model="theme.ir.attachment">
<field name="key">website.s_popup_default_image</field>
Expand Down
15 changes: 15 additions & 0 deletions theme_clean/views/image_content.xml
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,21 @@
<field name="name">website.s_carousel_intro_default_image_3</field>
<field name="url">/theme_clean/static/src/img/backgrounds/bg_snippet_11.jpg</field>
</record>
<record id="s_carousel_cards_default_image_1" model="theme.ir.attachment">
<field name="key">website.s_carousel_cards_default_image_1</field>
<field name="name">website.s_carousel_cards_default_image_1</field>
<field name="url">/theme_clean/static/src/img/content/image_content_25.jpg</field>
</record>
<record id="s_carousel_cards_default_image_2" model="theme.ir.attachment">
<field name="key">website.s_carousel_cards_default_image_2</field>
<field name="name">website.s_carousel_cards_default_image_2</field>
<field name="url">/theme_clean/static/src/img/content/image_content_26.jpg</field>
</record>
<record id="s_carousel_cards_default_image_3" model="theme.ir.attachment">
<field name="key">website.s_carousel_cards_default_image_3</field>
<field name="name">website.s_carousel_cards_default_image_3</field>
<field name="url">/theme_clean/static/src/img/content/image_content_27.jpg</field>
</record>
<record id="s_media_list_default_image_1" model="theme.ir.attachment">
<field name="key">website.s_media_list_default_image_1</field>
<field name="name">website.s_media_list_default_image_1</field>
Expand Down
17 changes: 17 additions & 0 deletions theme_cobalt/views/images.xml
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,23 @@
<field name="url">/theme_cobalt/static/src/img/pictures/s_gallery_1.jpg</field>
</record>

<!-- Carousel Cards -->
<record id="s_carousel_cards_default_image_1" model="theme.ir.attachment">
<field name="key">website.s_carousel_cards_default_image_1</field>
<field name="name">website.s_carousel_cards_default_image_1</field>
<field name="url">/theme_cobalt/static/src/img/pictures/s_carousel_1.jpg</field>
</record>
<record id="s_carousel_cards_default_image_2" model="theme.ir.attachment">
<field name="key">website.s_carousel_cards_default_image_2</field>
<field name="name">website.s_carousel_cards_default_image_2</field>
<field name="url">/theme_cobalt/static/src/img/pictures/s_carousel_2.jpg</field>
</record>
<record id="s_carousel_cards_default_image_3" model="theme.ir.attachment">
<field name="key">website.s_carousel_cards_default_image_3</field>
<field name="name">website.s_carousel_cards_default_image_3</field>
<field name="url">/theme_cobalt/static/src/img/pictures/s_carousel_3.jpg</field>
</record>

<!-- Parallax -->
<record id="s_parallax_default_image" model="theme.ir.attachment">
<field name="key">website.s_parallax_default_image</field>
Expand Down
15 changes: 15 additions & 0 deletions theme_enark/views/image_library.xml
Original file line number Diff line number Diff line change
Expand Up @@ -125,6 +125,21 @@
<field name="name">website.s_carousel_intro_default_image_3</field>
<field name="url">/theme_enark/static/src/img/snippets/library_image_08.jpg</field>
</record>
<record id="s_carousel_cards_default_image_1" model="theme.ir.attachment">
<field name="key">website.s_carousel_cards_default_image_1</field>
<field name="name">website.s_carousel_cards_default_image_1</field>
<field name="url">/theme_enark/static/src/img/snippets/s_carousel_1.jpg</field>
</record>
<record id="s_carousel_cards_default_image_2" model="theme.ir.attachment">
<field name="key">website.s_carousel_cards_default_image_2</field>
<field name="name">website.s_carousel_cards_default_image_2</field>
<field name="url">/theme_enark/static/src/img/snippets/s_carousel_2.jpg</field>
</record>
<record id="s_carousel_cards_default_image_3" model="theme.ir.attachment">
<field name="key">website.s_carousel_cards_default_image_3</field>
<field name="name">website.s_carousel_cards_default_image_3</field>
<field name="url">/theme_enark/static/src/img/snippets/s_carousel_3.jpg</field>
</record>
<record id="s_media_list_default_image_1" model="theme.ir.attachment">
<field name="key">website.s_media_list_default_image_1</field>
<field name="name">website.s_media_list_default_image_1</field>
Expand Down
17 changes: 17 additions & 0 deletions theme_graphene/views/images_library.xml
Original file line number Diff line number Diff line change
Expand Up @@ -223,6 +223,23 @@ Check in images.scss, primary_variables.scss, main.scss and theme_common's mixin
<field name="url">/theme_graphene/static/src/img/pictures/content_12.jpg</field>
</record>

<!-- Carousel Cards -->
<record id="s_carousel_cards_default_image_1" model="theme.ir.attachment">
<field name="key">website.s_carousel_cards_default_image_1</field>
<field name="name">website.s_carousel_cards_default_image_1</field>
<field name="url">/theme_graphene/static/src/img/pictures/content_09.jpg</field>
</record>
<record id="s_carousel_cards_default_image_2" model="theme.ir.attachment">
<field name="key">website.s_carousel_cards_default_image_2</field>
<field name="name">website.s_carousel_cards_default_image_2</field>
<field name="url">/theme_graphene/static/src/img/pictures/content_10.jpg</field>
</record>
<record id="s_carousel_cards_default_image_3" model="theme.ir.attachment">
<field name="key">website.s_carousel_cards_default_image_3</field>
<field name="name">website.s_carousel_cards_default_image_3</field>
<field name="url">/theme_graphene/static/src/img/pictures/content_11.jpg</field>
</record>

<!-- Parallax -->
<record id="s_parallax_default_image" model="theme.ir.attachment">
<field name="key">website.s_parallax_default_image</field>
Expand Down
15 changes: 15 additions & 0 deletions theme_kea/views/images_content.xml
Original file line number Diff line number Diff line change
Expand Up @@ -150,6 +150,21 @@ Check in primary_variables.scss, theme.scss and theme_common's mixins.scss -->
<field name="name">website.s_carousel_intro_default_image_3</field>
<field name="url">/theme_kea/static/src/img/snippets/s_color_blocks_1bis.jpg</field>
</record>
<record id="s_carousel_cards_default_image_1" model="theme.ir.attachment">
<field name="key">website.s_carousel_cards_default_image_1</field>
<field name="name">website.s_carousel_cards_default_image_1</field>
<field name="url">/theme_kea/static/src/img/snippets/s_carousel_1.jpg</field>
</record>
<record id="s_carousel_cards_default_image_2" model="theme.ir.attachment">
<field name="key">website.s_carousel_cards_default_image_2</field>
<field name="name">website.s_carousel_cards_default_image_2</field>
<field name="url">/theme_kea/static/src/img/snippets/s_carousel_2.jpg</field>
</record>
<record id="s_carousel_cards_default_image_3" model="theme.ir.attachment">
<field name="key">website.s_carousel_cards_default_image_3</field>
<field name="name">website.s_carousel_cards_default_image_3</field>
<field name="url">/theme_kea/static/src/img/snippets/s_carousel_3.jpg</field>
</record>

<record id="s_media_list_default_image_1" model="theme.ir.attachment">
<field name="key">website.s_media_list_default_image_1</field>
Expand Down
Loading

0 comments on commit e5dacac

Please sign in to comment.