1
0
Fork 0
mirror of https://github.com/Chocobozzz/PeerTube.git synced 2025-10-05 19:42:24 +02:00

WIP : Indicate to users how "trending" works (#1458)

* Get the INTERVAL_DAYS const in the video-trending component

* Change Trending section title

* Add a tooltip to explain how trending section works

* Minor CSS fix for the my-feed popover next to the titlepage
This commit is contained in:
Aurélien Béranger 2019-01-14 09:06:48 +01:00 committed by Chocobozzz
parent e902e03f0f
commit 9b4b15f91c
7 changed files with 33 additions and 4 deletions

View file

@ -120,6 +120,11 @@ async function getConfig (req: express.Request, res: express.Response) {
user: {
videoQuota: CONFIG.USER.VIDEO_QUOTA,
videoQuotaDaily: CONFIG.USER.VIDEO_QUOTA_DAILY
},
trending: {
videos: {
intervalDays: CONFIG.TRENDING.VIDEOS.INTERVAL_DAYS
}
}
}