Debian Codegraph @

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

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