mirror of
https://github.com/odoo/design-themes.git
synced 2025-10-07 01:18:52 +07:00
[IMP] *: remove deprecated 't-esc' ir.qweb directive
task-4461090 closes odoo/design-themes#1150 Related: odoo/odoo#228421 Related: odoo/enterprise#95456 Related: odoo/documentation#14675 Related: odoo/upgrade#8493 Related: odoo/upgrade-util#326 Signed-off-by: Christophe Matthieu (chm) <chm@odoo.com>
This commit is contained in:
@@ -18,7 +18,7 @@
|
||||
</h1>
|
||||
<p>With over 15 years of proven success, we deliver expert guidance and strategic insights for your business’s future.</p>
|
||||
<p><br/></p>
|
||||
<a t-att-href="cta_btn_href" class="btn btn-primary btn-lg"><t t-esc="cta_btn_text">Learn more</t></a>
|
||||
<a t-att-href="cta_btn_href" class="btn btn-primary btn-lg"><t t-out="cta_btn_text">Learn more</t></a>
|
||||
</div>
|
||||
</xpath>
|
||||
<xpath expr="//div[hasclass('col-lg-8')]" position="attributes">
|
||||
|
||||
@@ -19,7 +19,7 @@
|
||||
</xpath>
|
||||
<!-- CTA -->
|
||||
<xpath expr="//p" position="after">
|
||||
<a t-att-href="cta_btn_href" class="btn btn-primary btn-lg"><t t-esc="cta_btn_text">Contact us</t></a>
|
||||
<a t-att-href="cta_btn_href" class="btn btn-primary btn-lg"><t t-out="cta_btn_text">Contact us</t></a>
|
||||
</xpath>
|
||||
<!-- Remove right-side button -->
|
||||
<xpath expr="//div[hasclass('col-lg-3')]" position="replace"/>
|
||||
|
||||
@@ -37,7 +37,7 @@
|
||||
<h2 style="text-align: center;">Discover some of the latest<br/>moments we helped to create</h2>
|
||||
<p><br/></p>
|
||||
<p style="text-align: center;">
|
||||
<a t-att-href="cta_btn_href" class="btn btn-primary btn-lg o_translate_inline"><t t-esc="cta_btn_text">View all the pictures</t></a>
|
||||
<a t-att-href="cta_btn_href" class="btn btn-primary btn-lg o_translate_inline"><t t-out="cta_btn_text">View all the pictures</t></a>
|
||||
</p>
|
||||
</div>
|
||||
</xpath>
|
||||
|
||||
Reference in New Issue
Block a user