Skip to content
Snippets Groups Projects
Commit 06e1220b authored by Jeremy Kersten's avatar Jeremy Kersten
Browse files

[FIX] website_slides: display slide total time in minutes


And hide if no time set

task-fpreq

closes odoo/odoo#34346

Signed-off-by: default avatarJérémy Kersten (jke) <jke@openerp.com>
parent 8747d72f
No related branches found
No related tags found
No related merge requests found
......@@ -303,7 +303,7 @@
</div>
<div class="card-footer bg-white text-600 px-3">
<div class="d-flex justify-content-between align-items-center">
<small class="font-weight-bold" t-field="channel.total_time" t-options='{"widget": "float_time"}'/>
<small t-if="channel.total_time" class="font-weight-bold"><t t-esc="channel.total_time * 60" t-options="{&quot;widget&quot;: &quot;integer&quot;}"/> min</small>
<div class="d-flex flex-grow-1 justify-content-end">
<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>
......
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