Browse Source

[REF] Error-prone use of @class, use the hasclass(*classes)

pull/142/head
robin.keunen 5 years ago
parent
commit
4c7504a865
  1. 2
      beesdoo_website_eater/views/beesdoo_website_eater_templates.xml
  2. 2
      beesdoo_website_posorder_amount/templates/portal_posorder_amount.xml

2
beesdoo_website_eater/views/beesdoo_website_eater_templates.xml

@ -11,7 +11,7 @@
name="Website Eater Details Side" name="Website Eater Details Side"
priority="50" priority="50"
inherit_id="portal.portal_layout"> inherit_id="portal.portal_layout">
<xpath expr="//div[@class='o_portal_my_details']" position="after">
<xpath expr="//div[hasclass('o_portal_my_details')]" position="after">
<div class="o_my_details_eater mt-2"> <div class="o_my_details_eater mt-2">
<h4 class="page-header">Your Eaters</h4> <h4 class="page-header">Your Eaters</h4>
<hr class="mt-1 mb-0"/> <hr class="mt-1 mb-0"/>

2
beesdoo_website_posorder_amount/templates/portal_posorder_amount.xml

@ -11,7 +11,7 @@
name="Portal total POS order amount" name="Portal total POS order amount"
priority="40" priority="40"
inherit_id="portal.portal_layout"> inherit_id="portal.portal_layout">
<xpath expr="//div[@class='o_portal_my_details']" position="after">
<xpath expr="//div[hasclass('o_portal_my_details')]" position="after">
<div class="o_my_details_eater mt-2"> <div class="o_my_details_eater mt-2">
<h4 class="page-header">Purchases</h4> <h4 class="page-header">Purchases</h4>
<hr class="mt-1 mb-0"/> <hr class="mt-1 mb-0"/>

Loading…
Cancel
Save