Browse Source

[ADD] add website_legal_page and link to legal pages

pull/2/head
robinkeunen 7 years ago
committed by Rémy Taymans
parent
commit
cb4a6ab8be
  1. 1
      easy_my_coop/__openerp__.py
  2. 28
      easy_my_coop/view/subscription_template.xml

1
easy_my_coop/__openerp__.py

@ -31,6 +31,7 @@
"partner_contact_address",
"website",
"website_recaptcha_reloaded",
"website_legal_page",
"theme_light",
"base_iban",
"email_template_config",

28
easy_my_coop/view/subscription_template.xml

@ -242,21 +242,15 @@
<div t-attf-class="form-group" >
<label class="col-md-3 col-sm-4 control-label" for="data_policy_approved">Privacy Policy</label>
<div class="col-md-7 col-sm-8">
<table>
<tr>
<td width='15%'>
<div class="col-md-1 col-sm-2">
<input type="checkbox"
class="form-control"
name="data_policy_approved"
required="True"
t-attf-value="#{data_policy_approved or ''}"/>
</td>
<td width='85%'>
La lucidité est la blessure la plus rapprochée du soleil.
</td>
</tr>
</table>
</div>
<div class="col-md-6 col-sm-6">
<t t-call="website_legal_page.acceptance_full"/>
</div>
</div>
@ -522,6 +516,20 @@
<br/>
<div t-attf-class="form-group" >
<label class="col-md-3 col-sm-4 control-label" for="data_policy_approved">Privacy Policy</label>
<div class="col-md-1 col-sm-2">
<input type="checkbox"
class="form-control"
name="data_policy_approved"
required="True"
t-attf-value="#{data_policy_approved or ''}"/>
</div>
<div class="col-md-6 col-sm-6">
<t t-call="website_legal_page.acceptance_full"/>
</div>
</div>
<table style="margin-left:195px">
<tr>
<td width="80%">

Loading…
Cancel
Save