[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>
This commit is contained in:
committed by
Thibault Delavallée
parent
bf3ed3fc7c
commit
9d26c122ab
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user