diff options
| author | Odoo's Mergebot <xmo+roboto@odoo.com> | 2020-02-12 15:59:10 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-02-12 15:59:10 +0100 |
| commit | bab3281476c30febfef2de91974f0f63139a90a5 (patch) | |
| tree | b4de80ae209ee246913a01e6767c5bd90463038e /addons/web/static/src/js/fields | |
| parent | 67e49915b51ace0dd9b7e17bc0b6247c7cb77ffb (diff) | |
| parent | 9d94c1db9252eef0928d8f18dac83368ed763c78 (diff) | |
[MERGE][IMP] website_slides: improve the frontend UI for slide_channels
PURPOSE
---------------
Add small improvements to the frontend UI for slide_channels.
SPECIFICATION
-----------------------
Current behavior before PR:
1. We can't display all uncategorized slides of a course.
2. When you upload an image or PDF, the name field is replaced by the filename even it was filled before selecting the file. This leads to rewrite the name a second time before uploading the slide.
3. There is no way for the website designer to choose if he wants to display or hide the promoted slide of a course.
Desired behavior after PR is merged:
1. Slides without a category are displayed correctly, now you have access to the link "View all" which allows the user to display all uncategorized slides with a possible pager.
You have also the possibility to create a section/category with the new button "Add a section" next to the button to upload content.
2. When you upload an image or a PDF, the name field is no more replace automatically by the filename. Now, it's replaced only if the field is empty when you select the file.
3. Now, there is a new button under the Customize tab to display or hide the promoted slide on the courses. By default, the promoted slide is displayed on the course.
task-2161391
closes odoo/odoo#42420
Signed-off-by: Thibault Delavallee (tde) <tde@openerp.com>
Diffstat (limited to 'addons/web/static/src/js/fields')
0 files changed, 0 insertions, 0 deletions
