[IMP] website_slides: clean navigation and breadcrumb with profile / courses
SPECIFICATIONS * Remove the /home from the breadcrumb in user profile * Rename the Home (on a specific course) into "Courses" Task 2062640 closes odoo/odoo#36900 Signed-off-by: Thibault Delavallee (tde) <tde@openerp.com>
This commit is contained in:
committed by
Thibault Delavallée
parent
d136a725b2
commit
34791aa403
@@ -17,9 +17,6 @@
|
||||
<!-- Desktop Mode -->
|
||||
<nav aria-label="breadcrumb" class="col d-none d-md-flex">
|
||||
<ol class="breadcrumb bg-transparent mb-0 pl-0 py-0">
|
||||
<li class="breadcrumb-item">
|
||||
<a t-att-href="home_url or '/'">Home</a>
|
||||
</li>
|
||||
<li t-attf-class="breadcrumb-item #{'active' if not view_user else ''}">
|
||||
<a href="/profile/users">Users</a>
|
||||
</li>
|
||||
|
||||
@@ -10,7 +10,7 @@
|
||||
<nav aria-label="breadcrumb" class="col-md-8 d-none d-md-flex">
|
||||
<ol class="breadcrumb bg-transparent mb-0 pl-0 py-0">
|
||||
<li class="breadcrumb-item">
|
||||
<a href="/slides">Home</a>
|
||||
<a href="/slides">Courses</a>
|
||||
</li>
|
||||
<t t-set="breadcrumb_class" t-value="'breadcrumb-item %s' % ('active' if not slide else '')" />
|
||||
<li t-att-class="'breadcrumb-item %s' % ('active' if not search_category and not search_tag and not search_slide_type and not slide else '')">
|
||||
|
||||
Reference in New Issue
Block a user