Browse Source

corrections

dev-rcn
root 3 years ago
parent
commit
a5e4a73a4f
3 changed files with 24 additions and 7 deletions
  1. +4
    -3
      views/event_templates_page.xml
  2. +3
    -2
      views/event_templates_page_registration.xml
  3. +17
    -2
      views/website_participation.xml

+ 4
- 3
views/event_templates_page.xml View File

@ -1,12 +1,13 @@
<odoo>
<template id="assets_frontend" name="booking assets" inherit_id="web.assets_frontend">
<!-- <template id="assets_frontend" name="booking assets" inherit_id="web.assets_frontend">
<xpath expr="//link[last()]" position="after">
<link rel="stylesheet" type="text/scss" href="/kalachakra/static/src/scss/kalachakra.scss"/>
<link rel="stylesheet" type="text/css" href="/kalachakra/static/src/css/kalachakrascss"/>
</xpath>
</template>
<template id="layout" name="Event" inherit_id="website_event.layout">
</template> -->
<template id="layout2" name="Event" inherit_id="website_event.layout">
<xpath expr="//nav" position="replace">
<nav class="navbar navbar-light border-top shadow-sm d-print-none">


+ 3
- 2
views/event_templates_page_registration.xml View File

@ -65,14 +65,14 @@
</t>
</xpath>
<xpath expr="//div[3][@class='o_wevent_sidebar_block']" position="replace">
</xpath>
<xpath expr="//div[3][@class='o_wevent_sidebar_block']" position="replace">
</xpath>
<xpath expr="//div[1][@class='o_wevent_sidebar_block']" position="replace">
<div class="o_wevent_sidebar_block_kala">
<h6 class="o_wevent_sidebar_title kala_evt1">Date &amp; Time</h6>
<span class="o_wevent_sidebar_title kala_evt1">Date &amp; Time</span>
<div class="d-flex">
<span t-field="event.with_context(tz=event.date_tz).date_begin" class="my-1 mr-1 kala_evt1" t-options="{'date_only': 'true', 'format': 'EEEE'}"/>
<span class="my-1 kala_evt1" t-field="event.with_context(tz=event.date_tz).date_begin" t-options="{'date_only': 'true', 'format': 'long'}" itemprop="startDate" t-att-datetime="event.date_begin"/>
@ -125,6 +125,7 @@
</div>
</xpath>
</template>
</odoo>

+ 17
- 2
views/website_participation.xml View File

@ -20,7 +20,7 @@
<h6>The Kalachakra Center thanks you for your donation.<br></br>We invite you to fill in the following fields :</h6>
</t>
<t t-if="title=='Become a member'">
<h6 class="o_page_header mt16 mb4">Become a member :</h6>
<h6 class="o_page_header mt16 mb4">Nous sommes heureux de vous compter parmi nos prochains adhérents.<br></br>Pour ce faire, merci de remplir les champs suivants et de procéder au règlement selon votre choix :</h6>
</t>
<t t-if="title=='Become a super member'">
@ -168,7 +168,7 @@ reduced participation for pensions in the Sarthe.</h6>
</t>
</div>
<t t-if="kalachakra_transaction=='donation'">
<div class="form-group col-lg-4" id="div_product">
<label class="col-form-label font-weight-bold" for="product_id">Affectation<span class="s_website_form_mark"> *</span>
</label>
@ -182,6 +182,21 @@ reduced participation for pensions in the Sarthe.</h6>
</select>
</div>
</t>
<t t-if="kalachakra_transaction=='membership'">
<div class="form-group col-lg-4" id="div_product">
<select style="display:none;" id="product_id" name="product_id" class="o_wpayment_fee_impact form-control ">
<t t-foreach="products" t-as="product">
<option t-att-value="product.id" t-esc="product.name"></option>
</t>
</select>
</div>
</t>


Loading…
Cancel
Save