[FIX] website: make the team snippet image container not editable
It prevents users accidentally writing below the image when they modify the snippet. Part of https://github.com/odoo/odoo/pull/68823 task-2446852 X-original-commit: b6684fcdf6b62b6d12dd500ca5f9c2187a91fe97
This commit is contained in:
@@ -7,8 +7,8 @@
|
||||
<div class="row s_nb_column_fixed">
|
||||
<div class="col-lg-6 pt24 pb24">
|
||||
<div class="row s_col_no_resize s_col_no_bgcolor">
|
||||
<div class="col-lg-4 pb16">
|
||||
<img alt="" src="/web/image/website.s_company_team_image_1" class="img-fluid rounded-circle mx-auto"/>
|
||||
<div class="col-lg-4 pb16 o_not_editable" contenteditable="false">
|
||||
<img alt="" src="/web/image/website.s_company_team_image_1" class="img-fluid rounded-circle mx-auto" contenteditable="true"/>
|
||||
</div>
|
||||
<div class="col-lg-8">
|
||||
<h4>Tony Fred, CEO</h4>
|
||||
@@ -22,8 +22,8 @@
|
||||
</div>
|
||||
<div class="col-lg-6 pt24 pb24">
|
||||
<div class="row s_col_no_resize s_col_no_bgcolor">
|
||||
<div class="col-lg-4 pb16">
|
||||
<img alt="" src="/web/image/website.s_company_team_image_2" class="img-fluid rounded-circle mx-auto"/>
|
||||
<div class="col-lg-4 pb16 o_not_editable" contenteditable="false">
|
||||
<img alt="" src="/web/image/website.s_company_team_image_2" class="img-fluid rounded-circle mx-auto" contenteditable="true"/>
|
||||
</div>
|
||||
<div class="col-lg-8">
|
||||
<h4>Mich Stark, COO</h4>
|
||||
@@ -33,8 +33,8 @@
|
||||
</div>
|
||||
<div class="col-lg-6 pt24 pb24">
|
||||
<div class="row s_col_no_resize s_col_no_bgcolor">
|
||||
<div class="col-lg-4 pb16">
|
||||
<img alt="" src="/web/image/website.s_company_team_image_3" class="img-fluid rounded-circle mx-auto"/>
|
||||
<div class="col-lg-4 pb16 o_not_editable" contenteditable="false">
|
||||
<img alt="" src="/web/image/website.s_company_team_image_3" class="img-fluid rounded-circle mx-auto" contenteditable="true"/>
|
||||
</div>
|
||||
<div class="col-lg-8">
|
||||
<h4>Aline Turner, CTO</h4>
|
||||
@@ -44,8 +44,8 @@
|
||||
</div>
|
||||
<div class="col-lg-6 pt24 pb24">
|
||||
<div class="row s_col_no_resize s_col_no_bgcolor">
|
||||
<div class="col-lg-4 pb16">
|
||||
<img alt="" src="/web/image/website.s_company_team_image_4" class="img-fluid rounded-circle mx-auto"/>
|
||||
<div class="col-lg-4 pb16 o_not_editable" contenteditable="false">
|
||||
<img alt="" src="/web/image/website.s_company_team_image_4" class="img-fluid rounded-circle mx-auto" contenteditable="true"/>
|
||||
</div>
|
||||
<div class="col-lg-8">
|
||||
<h4>Iris Joe, CFO</h4>
|
||||
|
||||
Reference in New Issue
Block a user