odoo/odoo#132226
Created by fw-bot
Statuses:
- legal/cla: Contributor License Agreement check
- ci/runbot: Odoo Test Suite
- ci/upgrade_enterprise: Test upgrades for enterprise master
- ci/style: Optional style check. Ignore it only if strictly necessary.
- ci/security: Required security check. Can only be ignored by security team.
- label
- odoo-dev:master-master-forum-pimp-and-pump-edi-VexB-fw
- head
- eeb6264dd22783e4f260fbda7b849c5085a7a413
- merged
- 2 years ago by SM Learn, Florian Charlier (flch)
odoo/odoo | |
---|---|
saas-16.4 | #129521 |
17.0 | |
18.0 | |
saas-18.2 | |
saas-18.3 | |
saas-18.4 | |
19.0 | |
master | #132226 |
[FW][FIX] website_forum: fix redesign layout glitches
Improve last activity column
Allow the columns to resize to fit the date line without wrapping
and set the actual date to the title to appear on hover.
Header fixes
To avoid the searchbar shrinking too much when there are multiple
elements in the header (long title, tag or search filter, ...), we've
set a min-width
to it , and the max-width
has been moved
from the second section of the header to the searchbar instead.
The alignment of the title and the rest of the bar is now aligned on the
breadcrumb's baseline instead of vertically centered.
Fix dropdown title disappearing on selecting a tag
The dropdown's title disappeared when a tag was selected as a filter.
Height of container and aside
We've removed the h-100
on the aside to place it on the parent under
the condition that the forum_welcome_message
has been dismissed.
Because <main>
has a flex-grow
is applied to it,
the #wrap
has a gap under the content where it doesn't meet the full
height of the main.
This blank space is made visible by the grey background of the aside.
This could be solved by a simple h-100
on the wrap, but it overflows
onto the footer when the forum_welcome_message
displayed.
Add missing pages names
Some titles weren't appearing in the breadcrumb due to misplacement of
the _page_name
t-set or absence of it.
Switch static image for animation
The empty moderation pages now have an animated svg instead of a static
one. Fun.
Hide filter tool on empty mod pages
The moderation pages don't need the filter tool to appear when there
are no results.
Switch conditionals and/or
to if
Although it works, in python we don't use X and A or B
but A if X else B
Other visual fixes
In JS : put back removed classes on voteCount element
Tags: fix the overflowing text when tag is long and switch position with
icon for more readability
Remove useless not inDropdown
condition on form
Fix inverted plural/singular of Views
Other minor alignment fixes
task-3083657
part of task-3316555
I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
Forward-Port-Of: #129521