mirror of
https://git.sr.ht/~cadence/cloudtube
synced 2026-03-02 02:31:35 +00:00
Display how recently channels were refreshed
This commit is contained in:
parent
2e69dfc4b7
commit
83dec0c7ab
4 changed files with 31 additions and 10 deletions
|
|
@ -17,6 +17,16 @@ block content
|
|||
img(src=channel.icon_url width=512 height=512 alt="").thumbnail
|
||||
span.name= channel.name
|
||||
|
||||
if refreshed
|
||||
section
|
||||
details.channels-details
|
||||
summary Last refreshed
|
||||
div Oldest channel was refreshed #{timeToPastText(refreshed.min)}
|
||||
div Newest channel was refreshed #{timeToPastText(refreshed.max)}
|
||||
- const notLoaded = channels.length - refreshed.count
|
||||
if notLoaded
|
||||
div #{notLoaded} subscriptions have not been refreshed at all
|
||||
|
||||
each video in videos
|
||||
.subscriptions-video
|
||||
+video_list_item(video)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue