aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src/app/shared/shared-instance
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2022-02-28 15:33:03 +0100
committerChocobozzz <me@florianbigard.com>2022-02-28 15:34:07 +0100
commit5273f40afc08385f1ea00b6e40bd65532e272401 (patch)
tree7386efb0d097161feb0aa300fb05fca59a53b781 /client/src/app/shared/shared-instance
parent1087427616d21f5d82416ae8ee1d8802d88248ff (diff)
downloadPeerTube-5273f40afc08385f1ea00b6e40bd65532e272401.tar.gz
PeerTube-5273f40afc08385f1ea00b6e40bd65532e272401.tar.zst
PeerTube-5273f40afc08385f1ea00b6e40bd65532e272401.zip
Improve stat labels
Diffstat (limited to 'client/src/app/shared/shared-instance')
-rw-r--r--client/src/app/shared/shared-instance/instance-statistics.component.html28
1 files changed, 14 insertions, 14 deletions
diff --git a/client/src/app/shared/shared-instance/instance-statistics.component.html b/client/src/app/shared/shared-instance/instance-statistics.component.html
index 399cf10fe..2ca61fd94 100644
--- a/client/src/app/shared/shared-instance/instance-statistics.component.html
+++ b/client/src/app/shared/shared-instance/instance-statistics.component.html
@@ -1,13 +1,13 @@
1<p i18n *ngIf="null === serverStats">Loading instance statistics...</p> 1<p i18n *ngIf="null === serverStats">Loading instance statistics...</p>
2 2
3<section *ngIf="null !== serverStats"> 3<section *ngIf="null !== serverStats">
4 <h3 i18n>Local</h3> 4 <h3 i18n>By users on this instance</h3>
5 5
6 <div class="row"> 6 <div class="row">
7 <div class="col-6 col-lg-4 col-xl-3"> 7 <div class="col-6 col-lg-4 col-xl-3">
8 <div class="card stat"> 8 <div class="card stat">
9 <div class="card-body"> 9 <div class="card-body">
10 <p class="stat-value">{{ serverStats.totalUsers }}</p> 10 <p class="stat-value">{{ serverStats.totalUsers | number }}</p>
11 <p class="stat-label" i18n>users</p> 11 <p class="stat-label" i18n>users</p>
12 </div> 12 </div>
13 <i class="glyphicon glyphicon-user icon-bottom"></i> 13 <i class="glyphicon glyphicon-user icon-bottom"></i>
@@ -17,7 +17,7 @@
17 <div class="col-6 col-lg-4 col-xl-3"> 17 <div class="col-6 col-lg-4 col-xl-3">
18 <div class="card stat"> 18 <div class="card stat">
19 <div class="card-body"> 19 <div class="card-body">
20 <p class="stat-value">{{ serverStats.totalLocalVideos }}</p> 20 <p class="stat-value">{{ serverStats.totalLocalVideos | number }}</p>
21 <p class="stat-label" i18n>videos</p> 21 <p class="stat-label" i18n>videos</p>
22 </div> 22 </div>
23 <i class="glyphicon glyphicon-facetime-video"></i> 23 <i class="glyphicon glyphicon-facetime-video"></i>
@@ -27,8 +27,8 @@
27 <div class="col-6 col-lg-4 col-xl-3"> 27 <div class="col-6 col-lg-4 col-xl-3">
28 <div class="card stat"> 28 <div class="card stat">
29 <div class="card-body"> 29 <div class="card-body">
30 <p class="stat-value">{{ serverStats.totalLocalVideoViews }}</p> 30 <p class="stat-value">{{ serverStats.totalLocalVideoViews | number }}</p>
31 <p class="stat-label" i18n>video views</p> 31 <p class="stat-label" i18n>views</p>
32 </div> 32 </div>
33 <i class="glyphicon glyphicon-eye-open"></i> 33 <i class="glyphicon glyphicon-eye-open"></i>
34 </div> 34 </div>
@@ -37,8 +37,8 @@
37 <div class="col-6 col-lg-4 col-xl-3"> 37 <div class="col-6 col-lg-4 col-xl-3">
38 <div class="card stat"> 38 <div class="card stat">
39 <div class="card-body"> 39 <div class="card-body">
40 <p class="stat-value">{{ serverStats.totalLocalVideoComments }}</p> 40 <p class="stat-value">{{ serverStats.totalLocalVideoComments | number }}</p>
41 <p class="stat-label" i18n>video comments</p> 41 <p class="stat-label" i18n>comments</p>
42 </div> 42 </div>
43 <i class="glyphicon glyphicon-comment"></i> 43 <i class="glyphicon glyphicon-comment"></i>
44 </div> 44 </div>
@@ -48,20 +48,20 @@
48 <div class="card stat"> 48 <div class="card stat">
49 <div class="card-body"> 49 <div class="card-body">
50 <p class="stat-value">{{ serverStats.totalLocalVideoFilesSize | bytes:1 }}</p> 50 <p class="stat-value">{{ serverStats.totalLocalVideoFilesSize | bytes:1 }}</p>
51 <p class="stat-label" i18n>of hosted video</p> 51 <p class="stat-label" i18n>hosted video</p>
52 </div> 52 </div>
53 <i class="glyphicon glyphicon-hdd"></i> 53 <i class="glyphicon glyphicon-hdd"></i>
54 </div> 54 </div>
55 </div> 55 </div>
56 </div> 56 </div>
57 57
58 <h3 i18n>Federation</h3> 58 <h3 i18n>In this instance federation</h3>
59 59
60 <div class="row"> 60 <div class="row">
61 <div class="col-6 col-lg-4 col-xl-3"> 61 <div class="col-6 col-lg-4 col-xl-3">
62 <div class="card stat"> 62 <div class="card stat">
63 <div class="card-body"> 63 <div class="card-body">
64 <p class="stat-value">{{ serverStats.totalVideos }}</p> 64 <p class="stat-value">{{ serverStats.totalVideos | number }}</p>
65 <p class="stat-label" i18n>videos</p> 65 <p class="stat-label" i18n>videos</p>
66 </div> 66 </div>
67 <i class="glyphicon glyphicon-facetime-video"></i> 67 <i class="glyphicon glyphicon-facetime-video"></i>
@@ -71,8 +71,8 @@
71 <div class="col-6 col-lg-4 col-xl-3"> 71 <div class="col-6 col-lg-4 col-xl-3">
72 <div class="card stat"> 72 <div class="card stat">
73 <div class="card-body"> 73 <div class="card-body">
74 <p class="stat-value">{{ serverStats.totalVideoComments }}</p> 74 <p class="stat-value">{{ serverStats.totalVideoComments | number }}</p>
75 <p class="stat-label" i18n>video comments</p> 75 <p class="stat-label" i18n>comments</p>
76 </div> 76 </div>
77 <i class="glyphicon glyphicon-comment"></i> 77 <i class="glyphicon glyphicon-comment"></i>
78 </div> 78 </div>
@@ -81,7 +81,7 @@
81 <div class="col-6 col-lg-4 col-xl-3"> 81 <div class="col-6 col-lg-4 col-xl-3">
82 <div class="card stat"> 82 <div class="card stat">
83 <div class="card-body"> 83 <div class="card-body">
84 <p class="stat-value">{{ serverStats.totalInstanceFollowers }}</p> 84 <p class="stat-value">{{ serverStats.totalInstanceFollowers | number }}</p>
85 <p class="stat-label" i18n>followers</p> 85 <p class="stat-label" i18n>followers</p>
86 </div> 86 </div>
87 <i class="glyphicon glyphicon-retweet"></i> 87 <i class="glyphicon glyphicon-retweet"></i>
@@ -91,7 +91,7 @@
91 <div class="col-6 col-lg-4 col-xl-3"> 91 <div class="col-6 col-lg-4 col-xl-3">
92 <div class="card stat"> 92 <div class="card stat">
93 <div class="card-body"> 93 <div class="card-body">
94 <p class="stat-value">{{ serverStats.totalInstanceFollowing }}</p> 94 <p class="stat-value">{{ serverStats.totalInstanceFollowing | number }}</p>
95 <p class="stat-label" i18n>following</p> 95 <p class="stat-label" i18n>following</p>
96 </div> 96 </div>
97 <i class="glyphicon glyphicon-retweet"></i> 97 <i class="glyphicon glyphicon-retweet"></i>