1
0
Fork 0
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:
Cadence Ember 2020-09-24 00:48:32 +12:00
parent 2e69dfc4b7
commit 83dec0c7ab
No known key found for this signature in database
GPG key ID: BC1C2C61CF521B17
4 changed files with 31 additions and 10 deletions

View file

@ -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)