mirror of
https://git.sr.ht/~cadence/cloudtube
synced 2024-11-12 19:37:29 +00:00
e0bc0d2e81
Watched videos on your subscriptions feed will be darkened, and the option to hide all of them has been added. This only takes effect if you have enabled saving watched videos on the server in the settings menu - default is off.
42 lines
1.5 KiB
Plaintext
42 lines
1.5 KiB
Plaintext
extends includes/layout.pug
|
|
|
|
include includes/video-list-item.pug
|
|
|
|
block head
|
|
title Subscriptions - CloudTube
|
|
|
|
block content
|
|
main.subscriptions-page
|
|
if hasSubscriptions
|
|
section
|
|
details.channels-details
|
|
summary #{channels.length} subscriptions
|
|
.channels-list
|
|
for channel in channels
|
|
a(href=`/channel/${channel.ucid}`).channel-item
|
|
img(src=channel.icon_url width=512 height=512 alt="").thumbnail
|
|
span.name= channel.name
|
|
|
|
if refreshed
|
|
section
|
|
details.channels-details
|
|
summary Last refreshed #{timeToPastText(refreshed.min)}
|
|
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
|
|
|
|
if settings.save_history
|
|
input(type="checkbox" id="watched-videos-display")
|
|
.watched-videos-display-container
|
|
label(for="watched-videos-display").watched-videos-display-label Hide watched videos
|
|
|
|
each video in videos
|
|
+video_list_item("subscriptions-video", video, instanceOrigin)
|
|
else
|
|
.no-subscriptions
|
|
h2 You have no subscriptions.
|
|
p Subscribing to a channel makes its videos appear here.
|
|
p You can find the subscribe button on channels and videos.
|