diff options
| author | Martin Trigaux <mat@odoo.com> | 2020-02-17 15:10:27 +0000 |
|---|---|---|
| committer | Martin Trigaux <mat@odoo.com> | 2020-03-09 09:10:29 +0000 |
| commit | a14fd21c60f61008df42d79f413b258f00c8f5c7 (patch) | |
| tree | 86ec154513df9619a77db545fc248d80fa8373e9 /addons/website_slides/static | |
| parent | 2406a232594906a30e6f2ab3118a8e456df8b1a2 (diff) | |
[FIX] website_slides: completly leave a channel
When leaving a channel, remove the earned karma in addition of the
slides.
This way, the user goes back in the same state as before completing
the course.
Add a message to clarify to the user the impact of leaving a course.
Add a test to answer questions
opw-2199066
closes odoo/odoo#47166
X-original-commit: a5e66d681ccd760c0af7bd0b179b5e42c76577ba
Signed-off-by: Martin Trigaux (mat) <mat@odoo.com>
Diffstat (limited to 'addons/website_slides/static')
| -rw-r--r-- | addons/website_slides/static/src/xml/website_slides_unsubscribe.xml | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/addons/website_slides/static/src/xml/website_slides_unsubscribe.xml b/addons/website_slides/static/src/xml/website_slides_unsubscribe.xml index 53d4eb96c21..0c9d6a75414 100644 --- a/addons/website_slides/static/src/xml/website_slides_unsubscribe.xml +++ b/addons/website_slides/static/src/xml/website_slides_unsubscribe.xml @@ -22,6 +22,7 @@ <t t-name="slides.course.unsubscribe.modal.leave"> <p>Do you really want to leave the course?</p> + <p>All completed classes and earned karma will be lost.</p> </t> </templates> |
