Video: new macro for showing video progress

Import video_progress_bar from '_macros/_asset_video_progress.html'
and pass it the video and current_user.
This commit is contained in:
2018-09-11 16:11:05 +02:00
parent 48df0583ab
commit c546dd2881
6 changed files with 53 additions and 18 deletions

View File

@@ -69,7 +69,7 @@ mixin card()
p No card content defined.
mixin list-asset(name, url, image, type, date)
a(href=url, class=type).card.asset.card-stretch.card-image-fade&attributes(attributes)
a(href=url).card.asset.card-stretch.card-image-fade&attributes(attributes)
if image
.embed-responsive.embed-responsive-16by9
.card-img-top.embed-responsive-item(style="background-image: url(" + image + ")")