diff --git a/addons/website_slides/views/website_slides_templates_homepage.xml b/addons/website_slides/views/website_slides_templates_homepage.xml index 7b161f446a215de252117cd46ea2ce377136b3e9..d163f3fbeb69a956362bc8c99cc0f5518b879bb2 100644 --- a/addons/website_slides/views/website_slides_templates_homepage.xml +++ b/addons/website_slides/views/website_slides_templates_homepage.xml @@ -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>