-
{{ card.label }}
+
+ {{ card.label }}
+
+
+ {{ card.help }}
+
+
{{ card.value }}
{{ card.moreInfo }}
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 = {
displayLegend: boolean
}
-type Card = { label: string, value: string | number, moreInfo?: string }
+type Card = { label: string, value: string | number, moreInfo?: string, help?: string }
@Component({
templateUrl: './video-stats.component.html',
@@ -252,7 +252,8 @@ export class VideoStatsComponent implements OnInit {
this.globalStatsCards = [
{
label: $localize`Views`,
- value: this.numberFormatter.transform(this.video.views)
+ value: this.numberFormatter.transform(this.video.views),
+ help: $localize`A view means that someone watched the video for at least 30 seconds`
},
{
label: $localize`Likes`,