summaryrefslogtreecommitdiff
path: root/addons/website_slides/static/src/xml
diff options
context:
space:
mode:
authorqmo-odoo <qmo@odoo.com>2019-05-02 11:10:27 +0000
committerThibault Delavallée <tde@odoo.com>2019-05-03 09:52:02 +0000
commit9d26c122abc96ff401a373e641ab8082e4685ec7 (patch)
tree0fdd99fd2e80eab8eaa2de4753860fe9944012d3 /addons/website_slides/static/src/xml
parentbf3ed3fc7c2cbfacd2d00e9fd2dbc2edb8ce3c29 (diff)
[FIX] website_slides: fix the end course button
This commit fixes the "End Course" button displayed after successfully passing a quizz. Before this commit, the button didn't do anything, now, it redirects to the slides homepage. ommit linked to task ID 1978530 (fixes linked to internal testing). closes odoo/odoo#33133 Signed-off-by: Thibault Delavallee (tde) <tde@openerp.com>
Diffstat (limited to 'addons/website_slides/static/src/xml')
-rw-r--r--addons/website_slides/static/src/xml/slide_quiz.xml3
1 files changed, 1 insertions, 2 deletions
diff --git a/addons/website_slides/static/src/xml/slide_quiz.xml b/addons/website_slides/static/src/xml/slide_quiz.xml
index 8b7e871151b..6139ae8fad6 100644
--- a/addons/website_slides/static/src/xml/slide_quiz.xml
+++ b/addons/website_slides/static/src/xml/slide_quiz.xml
@@ -98,8 +98,7 @@
<button type="button" class="btn btn-light border o_wslides_quiz_btn align-self-end">Next <i class="fa fa-chevron-right"/></button>
</t>
<t t-else="">
- <!-- TODO: end course if no slide left -->
- <a type="button" class="btn btn-light border align-self-end">End course</a>
+ <a type="button" href="/slides" class="btn btn-light border align-self-end">End course</a>
</t>
</div>
</div>