]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blobdiff - client/src/app/+stats/video/video-stats.component.html
Add total viewers overall stat
[github/Chocobozzz/PeerTube.git] / client / src / app / +stats / video / video-stats.component.html
index e5412f1b818cac308443491b1dbce43e2ad3a7ac..2cd47bb26d12fcc22fcc5dd0d46abc06c6bd7ce7 100644 (file)
@@ -4,7 +4,13 @@
   <div class="stats-embed">
     <div class="global-stats">
       <div *ngFor="let card of globalStatsCards" class="card stats-card">
-        <div class="label">{{ card.label }}</div>
+        <div class="label">
+          {{ card.label }}
+
+          <my-help *ngIf="card.help">
+            <ng-template ptTemplate="customHtml">{{ card.help }}</ng-template>
+          </my-help>
+        </div>
         <div class="value">{{ card.value }}</div>
         <div *ngIf="card.moreInfo" class="more-info">{{ card.moreInfo }}</div>
       </div>