[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:
Gorash
2025-09-24 15:19:43 +02:00
parent 23c7f7c1da
commit 8b04b6dcf9
3 changed files with 3 additions and 3 deletions
@@ -18,7 +18,7 @@
</h1>
<p>With over 15 years of proven success, we deliver expert guidance and strategic insights for your businesss 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"/>
+1 -1
View File
@@ -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>