Hi all,
I want to know if its possible to remove the duration number and completion bar from content objects, as its not really applicable for what i am doing.
Thanks,
Rob
:)
Hi all,
I want to know if its possible to remove the duration number and completion bar from content objects, as its not really applicable for what i am doing.
Thanks,
Rob
:)
hey Robert Drew Jeffrey,
yeah it's possible and for this you have to change following files:
1) src\menu\adapt-contrib-boxMenu\templates\boxmenu-item.hbs
here, remove the below code:
<span class="menu-item-duration">Duration: {{{duration}}}</span>
<div class="menu-item-progress">
<div class="menu-item-progress-indicator">
<div class="menu-item-progress-indicator-bar" style="height:{{completedChildrenAsPercentage}}%;"></div>
</div>
</div>
Note: this will actually removes the menu-progress-bar and duration from course menu and below two steps are optional.
2) src\menu\adapt-contrib-boxMenu\less\boxmenu.less
here, you should remove all the irrelevant classes which was previously removed in hbs.
e.g. .menu-item-duration, .menu-item-progress etc
3) src\course\en\contentObjects.json
here, you should remove the below json entries.
"linkText":"View",
"duration":"2 mins"
and that's all.
Thanks,
Himanshu