Skip to content
Snippets Groups Projects
Commit 9d26c122 authored by qmo-odoo's avatar qmo-odoo Committed by Thibault Delavallée
Browse files

[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: default avatarThibault Delavallee (tde) <tde@openerp.com>
parent bf3ed3fc
No related branches found
No related tags found
No related merge requests found
......@@ -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>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment