summaryrefslogtreecommitdiff
path: root/addons/web/static
diff options
context:
space:
mode:
authorThibault Delavallée <tde@odoo.com>2019-02-28 15:54:15 +0000
committerThibault Delavallée <tde@odoo.com>2019-03-04 16:28:27 +0000
commitdc76c99a1e6508f24ea059f08fa48975cbfcaff5 (patch)
treec9dd7e5bb46eb488d6d832c887b3a818b3052dd0 /addons/web/static
parenta488cf67ed5ddb3f67e545176039cc12ac6ed7c2 (diff)
[FIX] website_slides: fix display of lessons in training course
Currently slides are displayed in a reorderable list, using current user access rights. This means external customers see only published and free lessons. However purpose of course page is to display all lessons, and display only available ones as clickable. Other one should be displayed as muted to tease people. Note that a specific lesson page does check for access rights. Here we just display all lessons names. A label for free preview is also added. Fetch of data when displaying a channel is therefore a bit modified as there are less differences between training and documentation channels. User progress is also updated to be easier to use in templates. Commit linked to task ID 1941250 and PR #31453
Diffstat (limited to 'addons/web/static')
0 files changed, 0 insertions, 0 deletions