Browse Source

snippet

dev-rcn
root 3 years ago
parent
commit
220b002bb6
1 changed files with 12 additions and 7 deletions
  1. +12
    -7
      views/website_snippets.xml

+ 12
- 7
views/website_snippets.xml View File

@ -1,5 +1,5 @@
<odoo>
<!-- Snippet - Country booking events - Placeholder -->
<template id="s_country_booking_events" name="Booking Events">
<div class="s_country_booking_events_list oe_country_booking_events #{_classes}">
<div class="country_booking_events_list">
@ -12,17 +12,22 @@
<template id="snippets" inherit_id="website_event.snippets">
<xpath expr="//t[@t-snippet='website_event.s_country_events']" position="replace">
<t t-snippet="website_event.s_country_events" t-thumbnail="/website_event/static/src/img/snippets_thumbs/s_country_events.svg"/>
<xpath expr="//t[@t-snippet='website_event.s_country_events']" position="before">
<t t-snippet="kalachakra.s_country_booking_events" t-thumbnail="/website_event/static/src/img/snippets_thumbs/s_country_events.svg"/>
</xpath>
</template>
<template id="snippet_options" inherit_id="website.snippet_options">
<xpath expr="//*[@t-set='so_content_addition_selector']" position="inside">.oe_country_booking_events</xpath>
<xpath expr="//*[@t-set='so_content_addition_selector']" position="inside">,.oe_country_booking_events</xpath>
</template>
<!-- <template id="snippet_options" inherit_id="website.snippet_options">
<xpath expr="//*[@t-set='so_content_addition_selector']" position="inside">, .oe_country_events, .s_speaker_bio</xpath>
</template> -->
<!-- <template id="snippet_website_event_opt" name="Snippet event Options" inherit_id="website.snippet_options">
<xpath expr="//div[@data-js='Box']" position="inside">
@ -31,13 +36,13 @@
</div>
</xpath>
</template> -->
<template id="index_sidebar_country_booking_event" inherit_id="website_event.index_sidebar" active="True" customize_show="True" name="Country Booking Events" priority="70">
<!-- <template id="index_sidebar_country_booking_event" inherit_id="website_event.index_sidebar" active="True" customize_show="True" name="Country Booking Events" priority="70">
<xpath expr="//div[@id='o_wevent_index_sidebar']" position="inside">
<div class="o_wevent_sidebar_block">
<t t-snippet-call="website_event.s_country_booking_events"/>
</div>
</xpath>
</template>
</template> -->
<template id="country_booking_events_list" name="Country Booking Events List">
<div class="country_booking_events_list">


Loading…
Cancel
Save