Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
JordiBForgeFlow committed Nov 22, 2023
1 parent 8523718 commit 4c06fa5
Showing 1 changed file with 27 additions and 24 deletions.
51 changes: 27 additions & 24 deletions website_search_header/views/templates.xml
Original file line number Diff line number Diff line change
Expand Up @@ -19,12 +19,15 @@
</template>

<template id="header_search_link" name="Header Search Link">
<div>
<div t-attf-class="#{_item_class}">
<a t-attf-class="d-none #{_link_class}">
</a>
<t t-call="website_search_header.global_product_search_box_input" />
</div>
<div id="div_search_button" class="ms-2 ms-lg-2 me-4 me-lg-0">
<div
id="div_search_button"
t-attf-class="#{_item_class} ms-2 ms-lg-2 me-4 me-lg-0"
>
<a t-attf-class="d-none #{_link_class}">
</a>
<script type="text/javascript">
Expand Down Expand Up @@ -62,8 +65,8 @@
position="before"
>
<t t-call="website_search_header.header_search_link">
<t t-set="_item_class" t-valuef="nav-item ms-lg-auto" />
<t t-set="_link_class" t-valuef="nav-link fw-bold" />
<t t-set="_item_class" t-value="'nav-item mx-lg-3'" />
<t t-set="_link_class" t-value="'nav-link'" />
</t>
</xpath>
</template>
Expand All @@ -76,8 +79,8 @@
position="before"
>
<t t-call="website_search_header.header_search_link">
<t t-set="_item_class" t-valuef="nav-item ms-lg-auto" />
<t t-set="_link_class" t-valuef="nav-link fw-bold" />
<t t-set="_item_class" t-value="'nav-item'" />
<t t-set="_link_class" t-value="'nav-link'" />
</t>
</xpath>
</template>
Expand All @@ -91,8 +94,8 @@
position="before"
>
<t t-call="website_search_header.header_search_link">
<t t-set="_item_class" t-valuef="nav-item ms-lg-auto" />
<t t-set="_link_class" t-valuef="nav-link fw-bold" />
<t t-set="_item_class" t-value="'nav-item ms-lg-3'" />
<t t-set="_link_class" t-value="'nav-link'" />
</t>
</xpath>
</template>
Expand All @@ -103,8 +106,8 @@
position="before"
>
<t t-call="website_search_header.header_search_link">
<t t-set="_item_class" t-valuef="nav-item ms-lg-auto" />
<t t-set="_link_class" t-valuef="nav-link fw-bold" />
<t t-set="_item_class" t-valuef="nav-item" />
<t t-set="_link_class" t-valuef="nav-link" />
</t>
</xpath>
</template>
Expand All @@ -115,8 +118,8 @@
position="before"
>
<t t-call="website_search_header.header_search_link">
<t t-set="_item_class" t-valuef="nav-item ms-lg-auto" />
<t t-set="_link_class" t-valuef="nav-link fw-bold" />
<t t-set="_item_class" t-value="'nav-item'" />
<t t-set="_link_class" t-value="'nav-link'" />
</t>
</xpath>
</template>
Expand All @@ -127,8 +130,8 @@
position="before"
>
<t t-call="website_search_header.header_search_link">
<t t-set="_item_class" t-valuef="nav-item ms-lg-auto" />
<t t-set="_link_class" t-valuef="nav-link fw-bold" />
<t t-set="_item_class" t-value="'nav-item ms-lg-3'" />
<t t-set="_link_class" t-value="'nav-link'" />
</t>
</xpath>
</template>
Expand All @@ -139,8 +142,8 @@
position="before"
>
<t t-call="website_search_header.header_search_link">
<t t-set="_item_class" t-valuef="nav-item ms-lg-auto" />
<t t-set="_link_class" t-valuef="nav-link fw-bold" />
<t t-set="_item_class" t-value="'nav-item'" />
<t t-set="_link_class" t-value="'nav-link'" />
</t>
</xpath>
</template>
Expand All @@ -154,8 +157,8 @@
position="before"
>
<t t-call="website_search_header.header_search_link">
<t t-set="_item_class" t-valuef="nav-item ms-lg-auto" />
<t t-set="_link_class" t-valuef="nav-link fw-bold" />
<t t-set="_item_class" t-value="'nav-item'" />
<t t-set="_link_class" t-value="'nav-link'" />
</t>
</xpath>
</template>
Expand All @@ -166,8 +169,8 @@
position="before"
>
<t t-call="website_search_header.header_search_link">
<t t-set="_item_class" t-valuef="nav-item ms-lg-auto" />
<t t-set="_link_class" t-valuef="nav-link fw-bold" />
<t t-set="_item_class" t-value="'nav-item ms-lg-3'" />
<t t-set="_link_class" t-value="'nav-link'" />
</t>
</xpath>
</template>
Expand All @@ -181,8 +184,8 @@
position="before"
>
<t t-call="website_search_header.header_search_link">
<t t-set="_item_class" t-valuef="nav-item ms-lg-auto" />
<t t-set="_link_class" t-valuef="nav-link fw-bold" />
<t t-set="_item_class" t-value="'nav-item ms-lg-3'" />
<t t-set="_link_class" t-value="'nav-link'" />
</t>
</xpath>
</template>
Expand All @@ -196,8 +199,8 @@
position="before"
>
<t t-call="website_search_header.header_search_link">
<t t-set="_item_class" t-valuef="nav-item ms-lg-auto" />
<t t-set="_link_class" t-valuef="nav-link fw-bold" />
<t t-set="_item_class" t-value="'nav-item ms-md-auto'" />
<t t-set="_link_class" t-value="'nav-link'" />
</t>
</xpath>
</template>
Expand Down

0 comments on commit 4c06fa5

Please sign in to comment.