-
Notifications
You must be signed in to change notification settings - Fork 24.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[MERGE] website_blog, *: review blog layouts #31749
Conversation
17d502d
to
063f08b
Compare
@qsm-odoo Before you take a look at the code, here is one question concerning the grid view (which works now but maybe not as expected). As I am now using bootstrap grid system and elements sometimes do not have the same height, this occurs : https://ibb.co/Xz7sKrW. Am I supposed to handle this with bootstrap (clearfix,... ?) or maybe with masonry or ... ? Thanks 😄 |
063f08b
to
867cd86
Compare
@qsm-odoo I finally used Cards-columns directly from Bootstrap. You can check the code, everything seems good physically 😄 |
64b8d42
to
08cec7b
Compare
@kea14 Is the order preserved with card-columns ? |
@qsm-odoo Indeed... Order seems to be left to right : https://ibb.co/QMhvMy9 😞 |
As written in the doc ;) So it is not a viable solution. So I suppose there is only one solution: force the column to all have the same height (which should be the default when using the bootstrap grid system anyway). But I don't know, I have not investigated, do your best so that it looks good and the order is preserved :) |
08cec7b
to
9fe0db1
Compare
@qsm-odoo Final result for a blog post https://ibb.co/HqLnCzt Seems ok for you ? :) |
Screenshot seems good 😉 Are you finished with the task or have you still something to improve ? |
@qsm-odoo No, the task is done :) |
9fe0db1
to
debcc61
Compare
</xpath> | ||
<xpath expr="//div[@id='blog_right_column']" position="inside"> | ||
<section class="mt32 mb32" groups="website.group_website_designer"> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@kea14 I am working on this task. Comment about this (do not fix as I take care of this branch now): be careful, you removed a groups
here, which means that all visitors would have had access to this panel :|
9c9874f
to
12955c4
Compare
12955c4
to
53f8062
Compare
Review our blog layouts to follow the design we added for forum and event (usings cards for records but not for menu + colored cards for the right column). Also fixes some DOM/Bootstrap structures. Part of odoo#31749 task-1948882
* website Use real social colors which makes the blogs look more modern. Introduce the colors for github, instagram and youtube. Part of odoo#31749 task-1948882
- No cards for menus - Use the grid system for better blog post card footers - Correct grid system for blog list grid view - Remove some useless custom css - Restore 'groups' in xml data - ... Part of odoo#31749 task-1948882
53f8062
to
2d5e177
Compare
@robodoo r+ |
@robodoo rebase-merge |
Merge method set to rebase and merge, using the PR as merge commit message |
Review our blog layouts to follow the design we added for forum and event (usings cards for records but not for menu + colored cards for the right column). Also fixes some DOM/Bootstrap structures. Part of #31749 task-1948882
* website Use real social colors which makes the blogs look more modern. Introduce the colors for github, instagram and youtube. Part of #31749 task-1948882
- No cards for menus - Use the grid system for better blog post card footers - Correct grid system for blog list grid view - Remove some useless custom css - Restore 'groups' in xml data - ... Part of #31749 task-1948882
* website Review the blog layouts to - Use cards where necessary to match the forum / event redesign - Use correct bootstrap / HTML + Some minor improvements task-1948882 closes #31749 Signed-off-by: Quentin Smetz (qsm) <qsm@odoo.com>
Merged, thanks! |
Review the blog layouts to
task-1948882