This commit enables eLearning users to share the channel linked to
certification they cleared directly from the result page.
Notes:
1 - We already have the option to share a certificate from the user info page
or from the slide page, and the same mechanism has been utilised here.
2 - With a recent commit[1], top padding was added to the modal opened on
website front-end to prevent modal overlapping the navbar. But it caused
a side effect on survey result page, where navbar is hidden. So we remove
this top padding on modal for the survey result page.
[1] - https://github.com/odoo/odoo/commit/6ef622772f7d0172553aca6dbce9eb71855460d7
taskId - 2337696
closes odoo/odoo#58104
Signed-off-by: Thibault Delavallee (tde) <tde@openerp.com>
21 lines
1.2 KiB
XML
21 lines
1.2 KiB
XML
<?xml version="1.0" ?>
|
|
<odoo>
|
|
<data>
|
|
<template id="assets_frontend" inherit_id="website.assets_frontend" name="Slides Certification">
|
|
<xpath expr="//link[last()]" position="after">
|
|
<link rel="stylesheet" type="text/scss" href="/website_slides_survey/static/src/scss/website_slides_survey.scss"/>
|
|
</xpath>
|
|
<xpath expr="//script[last()]" position="after">
|
|
<script type="text/javascript" src="/website_slides_survey/static/src/js/slides_upload.js"/>
|
|
<script type="text/javascript" src="/website_slides_survey/static/src/js/slides_course_fullscreen_player.js"/>
|
|
<script type="text/javascript" src="/website_slides_survey/static/src/js/slides_certification_upload_toast.js"/>
|
|
</xpath>
|
|
</template>
|
|
<template id="survey_assets" inherit_id="survey.survey_assets" name="Survey Results assets">
|
|
<xpath expr="//link[last()]" position="after">
|
|
<link rel="stylesheet" type="text/scss" href="/website_slides_survey/static/src/scss/website_slides_survey_result.scss"/>
|
|
</xpath>
|
|
</template>
|
|
</data>
|
|
</odoo>
|