[FIX] website_slides: display slide total time in minutes
And hide if no time set task-fpreq closes odoo/odoo#34346 Signed-off-by: Jérémy Kersten (jke) <jke@openerp.com>
This commit is contained in:
@@ -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="{"widget": "integer"}"/> 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>
|
||||
|
||||
Reference in New Issue
Block a user