mirror of
https://codeberg.org/tacerus/teddit.git
synced 2024-11-22 23:09:28 +01:00
Add duration label
This commit is contained in:
parent
533519df65
commit
6e682b6bc1
@ -8,9 +8,13 @@
|
|||||||
if link.is_self_link
|
if link.is_self_link
|
||||||
a(href="" + link.permalink + "")
|
a(href="" + link.permalink + "")
|
||||||
img(src="" + link.images.thumb + "", alt="")
|
img(src="" + link.images.thumb + "", alt="")
|
||||||
|
if link.duration
|
||||||
|
span #{secondsToMMSS(link.duration)}
|
||||||
else
|
else
|
||||||
a(href=""+ link.url +"", rel="noopener noreferrer")
|
a(href=""+ link.url +"", rel="noopener noreferrer")
|
||||||
img(src="" + link.images.thumb + "", alt="")
|
img(src="" + link.images.thumb + "", alt="")
|
||||||
|
if link.duration
|
||||||
|
span #{secondsToMMSS(link.duration)}
|
||||||
else
|
else
|
||||||
a(href="" + link.permalink + "")
|
a(href="" + link.permalink + "")
|
||||||
.no-image no image
|
.no-image no image
|
||||||
|
Loading…
Reference in New Issue
Block a user