diff options
author | Chocobozzz <me@florianbigard.com> | 2022-05-06 14:56:34 +0200 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2022-05-06 14:56:34 +0200 |
commit | 822f50fa814e945d136b8bb5a7e14e3c84889d42 (patch) | |
tree | 50fd982232c1b38461c6c08d63885ea6364e9410 /client/src/app/+stats/video/video-stats.component.ts | |
parent | 67ad83d0faa5924a566bc8260918439614694c85 (diff) | |
download | PeerTube-822f50fa814e945d136b8bb5a7e14e3c84889d42.tar.gz PeerTube-822f50fa814e945d136b8bb5a7e14e3c84889d42.tar.zst PeerTube-822f50fa814e945d136b8bb5a7e14e3c84889d42.zip |
Add help to understand what is a view
Diffstat (limited to 'client/src/app/+stats/video/video-stats.component.ts')
-rw-r--r-- | client/src/app/+stats/video/video-stats.component.ts | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/client/src/app/+stats/video/video-stats.component.ts b/client/src/app/+stats/video/video-stats.component.ts index f433259ef..b6b71d463 100644 --- a/client/src/app/+stats/video/video-stats.component.ts +++ b/client/src/app/+stats/video/video-stats.component.ts | |||
@@ -30,7 +30,7 @@ type ChartBuilderResult = { | |||
30 | displayLegend: boolean | 30 | displayLegend: boolean |
31 | } | 31 | } |
32 | 32 | ||
33 | type Card = { label: string, value: string | number, moreInfo?: string } | 33 | type Card = { label: string, value: string | number, moreInfo?: string, help?: string } |
34 | 34 | ||
35 | @Component({ | 35 | @Component({ |
36 | templateUrl: './video-stats.component.html', | 36 | templateUrl: './video-stats.component.html', |
@@ -252,7 +252,8 @@ export class VideoStatsComponent implements OnInit { | |||
252 | this.globalStatsCards = [ | 252 | this.globalStatsCards = [ |
253 | { | 253 | { |
254 | label: $localize`Views`, | 254 | label: $localize`Views`, |
255 | value: this.numberFormatter.transform(this.video.views) | 255 | value: this.numberFormatter.transform(this.video.views), |
256 | help: $localize`A view means that someone watched the video for at least 30 seconds` | ||
256 | }, | 257 | }, |
257 | { | 258 | { |
258 | label: $localize`Likes`, | 259 | label: $localize`Likes`, |