Debian Codegraph @

addons/website_sale/views/snippets/s_mega_menu/little_icons.xml

raw symbols SCIP
1 <?xml version="1.0" encoding="utf-8"?>
2 <odoo>
3
4 <template
5 id="website_sale.s_mega_menu_little_icons"
6 name="eCommerce: Menu - Little icons"
7 groups="base.group_user"
8 >
9 <section class="s_mega_menu_little_icons overflow-hidden o_colored_level o_cc o_cc1">
10 <div class="container">
11 <div class="row">
12 <div class="col-lg-9 py-2 align-content-center">
13 <nav class="nav col-12 d-flex">
14 <t
15 t-foreach="request.env['product.public.category'].search([
16 ('parent_id', '=', False), ('has_published_products', '=', True)
17 ], limit=9)"
18 t-as="category"
19 >
20 <a
21 t-att-href="'/shop/category/%s' % category.id"
22 class="col-lg-4 nav-link px-2 rounded text-wrap"
23 >
24 <img
25 t-if="category.image_1920"
26 t-att-src="image_data_uri(category.image_1920)"
27 class="fa fa-fw me-2"
28 alt=""
29 />
30 <b t-esc="category.name"/>
31 </a>
32 </t>
33 </nav>
34 </div>
35 <div class="col-lg-3 p-4 s_mega_menu_gray_area">
36 <h4>The team</h4>
37 <p class="text-muted small">
38 Created in 2021, the company is young and dynamic. Discover the composition of the team and their skills.
39 </p>
40 <a href="#" class="btn btn-primary">Discover our team</a>
41 </div>
42 </div>
43 </div>
44 </section>
45 </template>
46
47
48 </odoo>