diff options
author | Aurélien Béranger <43744761+auberanger@users.noreply.github.com> | 2019-01-14 09:06:48 +0100 |
---|---|---|
committer | Chocobozzz <chocobozzz@cpy.re> | 2019-01-14 09:06:48 +0100 |
commit | 9b4b15f91c485f9a7fe2ed314b4101f4b7506b38 (patch) | |
tree | 6ab137f0d309da68ab357602ddd7f56390280a72 /client/src/app/core/server | |
parent | e902e03f0fd2eded99d635b1f9d2c59f417c4721 (diff) | |
download | PeerTube-9b4b15f91c485f9a7fe2ed314b4101f4b7506b38.tar.gz PeerTube-9b4b15f91c485f9a7fe2ed314b4101f4b7506b38.tar.zst PeerTube-9b4b15f91c485f9a7fe2ed314b4101f4b7506b38.zip |
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
Diffstat (limited to 'client/src/app/core/server')
-rw-r--r-- | client/src/app/core/server/server.service.ts | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/client/src/app/core/server/server.service.ts b/client/src/app/core/server/server.service.ts index f33e6f20c..4ae72427b 100644 --- a/client/src/app/core/server/server.service.ts +++ b/client/src/app/core/server/server.service.ts | |||
@@ -87,6 +87,11 @@ export class ServerService { | |||
87 | enabled: false | 87 | enabled: false |
88 | } | 88 | } |
89 | } | 89 | } |
90 | }, | ||
91 | trending: { | ||
92 | videos: { | ||
93 | intervalDays: 0 | ||
94 | } | ||
90 | } | 95 | } |
91 | } | 96 | } |
92 | private videoCategories: Array<VideoConstant<number>> = [] | 97 | private videoCategories: Array<VideoConstant<number>> = [] |