summaryrefslogtreecommitdiff
path: root/addons/website_forum/static/src/scss
AgeCommit message (Collapse)Author
2021-05-28[FIX] website_forum: fix image size in postsYounn Olivier
Before this commit, big images would overflow from posts containers. task-2469516 Part of https://github.com/odoo/odoo/pull/70235 closes odoo/odoo#71412 X-original-commit: 17f736c19ae67acbaa16d2f8452e9ccb58dd3ef3 Signed-off-by: Quentin Smetz (qsm) <qsm@odoo.com>
2021-05-28[FIX] website_forum: fix image display in a forum postYounn Olivier
The container size of a forum post was not correct when an image was displayed with right or left alignment. The css property clear was added at the end of the posts so that floating elements do not float over the next section. task-2469516 Part of https://github.com/odoo/odoo/pull/70235 X-original-commit: 0c58901cbef8b1d1808f673b7b34d1de93c2fd6d
2021-03-15[FIX] website_forum, *: refit the forum biography popoverOussama MESSAOUDI
*: web task-2276974 closes odoo/odoo#66049 Signed-off-by: Quentin Smetz (qsm) <qsm@odoo.com>
2020-04-01[FIX] website_forum: force image size in css to handle gifsjvm-odoo
Issue - Preferences > Change your avatar with a big .gif - Install Forum - Go on a question The gif is not resized in the nav and in the post answer box Cause In fact, all gifs are not really resized. They just look fine because there is CSS to handle the case where the server resize does not work. Solution Do as it is done everywhere else, add CSS rules OPW-2223260 closes odoo/odoo#48792 X-original-commit: 35137cea7fd0eef067749721ef808acd298e0aae Signed-off-by: Jason Van Malder (jvm) <jvm@odoo.com>
2019-12-09[REV] web: reverts update to fontawesome 5.11.2Kevin Baptiste
This reverts commit ff1c35513aecef5fbc30f7c2f3834450e719714e. closes odoo/odoo#41480 X-original-commit: 116057b26e71db4692280463669f3e80d813ddcc Related: odoo/enterprise#7110 Signed-off-by: Yannick Tivisse (yti) <yti@odoo.com>
2019-11-28[IMP] web: update to fontawesome 4.7.0 to 5.11.2Kevin Baptiste
FontAwesome 5 introduced new names for some icons as described on https://fontawesome.com/how-to-use/on-the-web/setup/upgrading-from-version-4#name-changes This commit replaces the old names to the new ones. closes odoo/odoo#35826 Taskid: 2050241 Related: odoo/enterprise#5180 Signed-off-by: Yannick Tivisse (yti) <yti@odoo.com>
2019-10-01[IMP] website_forum, *: review forum listing pagesri-odoo
* website_slides_forum In particular: add a specific design for forum with description and separate the 'course' forum from the rest of them. Part of https://github.com/odoo/odoo/pull/35749 task-2024197 Co-authored-by: qsm-odoo <qsm@odoo.com>
2019-10-01[IMP] website_forum, *: revamp designsri-odoo
* web_editor, website_profile Part of https://github.com/odoo/odoo/pull/35749 task-2024197 Co-authored-by: Jérémy Kersten <jke@odoo.com> Co-authored-by: qsm-odoo <qsm@odoo.com> Co-authored-by: fja-odoo <fja@odoo.com>
2019-08-14[MERGE] forward port branch saas-12.4 up to 98a55917a60Christophe Simonis
2019-08-08[MERGE] forward port branch saas-12.3 up to 752b2553c6fChristophe Simonis
2019-08-05[FIX] website_forum: restore the possibility to change accepted answerqsm-odoo
The design for accepted answers changed a lot and with it, the possibility to remove or change accepted answers was gone. This commit tries to reintroduce the possibility without breaking the design and by making an unique attribute addition to the XML (stable change). task-2034497 closes odoo/odoo#35445 Signed-off-by: Quentin Smetz (qsm) <qsm@odoo.com>
2019-08-05[FIX] website_forum: restore star icon color for favorited questionsqsm-odoo
task-2034497
2019-06-06[MERGE] forward port branch saas-12.3 up to 409679866b2Christophe Simonis
2019-06-04[IMP] website_forum: review design of forum indexElisabeth Dickinson
- Allow to set an image on each forum - Review the form view - Redesign the forum index with cards and header task-1984582 closes odoo/odoo#33530 Signed-off-by: Quentin Smetz (qsm) <qsm@odoo.com> Co-authored-by: qsm-odoo <qsm@odoo.com>
2019-06-28[IMP] website_forum: display forum errors with notiffja-odoo
Previously the Forum errors were handled with a popover, now the errors will be consistent with the crash_manager and display a toast notification via the show_warning method. Also the KarmaError were previously not displaying the karma needed to perform the action. Now it will display the amount in the error message. The CrashManager show_warning method will now take an options dictionary as a second argument to override it's default behaviour. Part of https://github.com/odoo/odoo/pull/32132 task-1894820
2019-05-20[FIX] website_forum: fix column sizeJeremy Kersten
Until know, we suppose that <div id='first' class='col-1'><div id='second' class='col'> will be on the same line, with the second div that take the left space. But that not the case, if you don't force the second to col-11 and that the content is too long, if will show the div like a col-12 instead of a col-11. Their are probably others case in the migration of bs3/bs4 to handle. + add word-wrap on the question to avoid long content that have overflow below the right column.
2019-04-23[FIX] website_slides_forum: fix navbar overflow and mobile bgsri-odoo
Linked to task 1958372 Related to PR #32648
2019-03-26[MERGE] forward port branch saas-12.1 up to f00c490be86Christophe Simonis
2019-03-25[MERGE] forward port branch 12.0 up to 11b1e12cde3Christophe Simonis
2019-03-22[FIX] website_forum: BS4, restore edit profile pageqsm-odoo
+ Add some spacing between the navbar and the forum layout closes odoo/odoo#32060 Signed-off-by: Quentin Smetz (qsm) <qsm@odoo.com>
2019-03-06[FIX] website_slides_forum : fix elearning navbar style in forumDavid Beguin
Since design refactoring from af41382fa182fde43f8a52cb33171071f42dcd20, eLearning navbar style was not displayed correctly. This commit fixes this by applying same design rules as user profile page navbar. Task ID : 1941250 PR #31512
2019-02-14[REF] website_forum : use website_profile templates and adds forum specific ↵David Beguin
information Adds forum specific information into the website_profile template page. Removes everything linked to profile that is already in website_profile module to avoid duplicates. As there can be more than one forum, the profile page shows everything linked to every forum, except if the forum id is given in url arguments. The old route (forum/forum-1/user/user_id) have been kept for backward compatibility reasons. Adds the 'Go to forum' button in the 'new rank reached' mail to encourage the users to continue to be active on the forum as well, to gain more karma point and improve there rank. Image rpc calls have been reviewed for profile page part to use only the standard way to get image -> web/image/model_name/id/image_size Task ID : 1922159 PR #30988
2019-02-14[ADD] website_profile : add profile page template for website modulesDavid Beguin
Move Profile part from website_forum into this module in order to be usable in other modules (like website_slides) that will depend of this module. Applies gamification.ranks on website_profile page. Show the current rank and the next rank but also the progression until the next rank. Adds also an 'about rank' page to allow users to know more about available ranks. The goal here is to make the profile page more modular and to allow other modules to add informations or modify easily link or part of profile page in order to be specifically contextualised for the module in question. Task ID : 1922159 PR #30988
2019-01-23[FIX] website_forum: small ui fixJeremy Kersten
Force image to stay in their container (img_fluid could be removed by end user) Stop to use row_users now that we use bs4, allow to be more responsive, force height to be the same for each card. Small imp replacing multiple if by elif Decrease big margin between questions Place tag on the top (if you have many tag, or very long, the ui is broken)
2019-01-23[FIX] website_forum: prefix forum css rule to avoid side effectJeremy Kersten
prefix class where forum is not specified in the classname to avoid to have some element on others pages that are stylized.
2018-12-06[REF] website_forum: mass moderation, modern UI bs4 and clean typeJeremy Kersten
Now forum only allow to post message of type 'question'. New 'modern' UI with Bootstrap 4 New moderation modal for bulk spam Co-authored-by: qha <qha@odoo.com> Co-authored-by: qsm <qsm@odoo.com> Co-authored-by: jke <jke@odoo.com> Thanks to @qha-odoo for UI Thanks to @qsm-odoo for reviewSsss closes odoo/odoo#29235
2018-05-29[MERGE] forward port branch saas-11.3 up to 37eed7c509fChristophe Simonis
2018-04-18[REF] *: rename all LESS files to SCSSqsm-odoo
This is a simple renaming without adaptation.