[IMP] website_slides: imp layout of left panel, secondary links

closes odoo/odoo#131141

X-original-commit: 9efaf53786c30dd23c09b8a1d898ecf97cb2e88b
Signed-off-by: Fabien Pinckaers (fp) <fp@odoo.com>
Signed-off-by: Thibault Delavallee (tde) <tde@openerp.com>
This commit is contained in:
Fabien Pinckaers
2023-08-09 03:07:43 +02:00
parent f5405d61e7
commit 3e5b26e56b
2 changed files with 13 additions and 1 deletions
@@ -635,6 +635,18 @@ $line-height-truncate: 1.25em;
}
}
li.o_wslides_fs_sidebar_list_item:not(.active) {
ul.small {
display:none;
}
}
li.o_wslides_fs_sidebar_list_item.active {
a.o_wslides_fs_slide_link {
font-weight: 300;
}
}
// Modals
// **************************************************
@@ -151,7 +151,7 @@
<div class="o_wslides_fs_slide_name text-600" t-esc="slide.name"/>
</div>
</span>
<ul class="list-unstyled w-100 pt-2 small fw-light" t-if="slide._has_additional_resources() or (slide.question_ids and not slide.slide_category =='quiz')" >
<ul class="list-unstyled w-100 small fw-light" t-if="slide._has_additional_resources() or (slide.question_ids and not slide.slide_category =='quiz')" >
<t t-if="can_access_channel">
<t t-set="links" t-value="slide.slide_resource_ids.filtered(lambda res: res.resource_type == 'url')"/>
<li t-foreach="links" t-as="link" class="ps-1 mb-1">