From 8ecff655e010f3bb62410c77ca0af85ce468510f Mon Sep 17 00:00:00 2001 From: sri-odoo Date: Tue, 26 Feb 2019 09:12:52 +0000 Subject: [PATCH] [IMP] website_profile: merge ranks/badges pages Merge ranks & badges pages. This commit adapt the final page layout, controllers and templates. Added the badge category filter. If used in url parameter, hide ranks and show only the badge part of the page, filtered on matching badge_category. Task ID : 1941250 PR #31567 Co-authored-by: @stefanorigano Co-authored-by: @dbeguin --- addons/website_forum/views/website_forum.xml | 2 +- addons/website_profile/controllers/main.py | 32 +++--- .../website_profile/views/website_profile.xml | 107 ++++++++---------- .../website_slides_templates_homepage.xml | 2 +- 4 files changed, 65 insertions(+), 78 deletions(-) diff --git a/addons/website_forum/views/website_forum.xml b/addons/website_forum/views/website_forum.xml index 1c4755f7092..de04744ffb9 100644 --- a/addons/website_forum/views/website_forum.xml +++ b/addons/website_forum/views/website_forum.xml @@ -161,7 +161,7 @@ t-attf-class="nav-link #{searches.get('tags') and 'active' or ''}">Tags