Skip to content
Snippets Groups Projects
Commit c4d15475 authored by Debauche Stéphane's avatar Debauche Stéphane
Browse files

[IMP] website_slides: remove the progress bar on "course_card" if the channel...

[IMP] website_slides: remove the progress bar on "course_card" if the channel type is "documentation"

Task #2080594

closes odoo/odoo#38027

Signed-off-by: default avatarThibault Delavallee (tde) <tde@openerp.com>
parent a8473341
Branches
Tags
No related merge requests found
......@@ -334,7 +334,7 @@
<t t-if="channel.is_member and channel.completed">
<span class="badge badge-pill badge-success pull-right py-1 px-2"><i class="fa fa-check"/> Completed</span>
</t>
<div t-elif="channel.is_member" class="progress w-50" style="height: 6px">
<div t-elif="channel.is_member and channel.channel_type != 'documentation'" class="progress w-50" style="height: 6px">
<div class="progress-bar" role="progressbar" t-att-aria-valuenow="channel.completion" aria-valuemin="0" aria-valuemax="100" t-attf-style="width:#{channel.completion}%;"/>
</div>
<small t-else=""><b t-esc="channel.total_slides"/> steps</small>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment