aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src/app/+admin/follows/video-redundancies-list/video-redundancies-list.component.html
diff options
context:
space:
mode:
authorRigel Kent <sendmemail@rigelk.eu>2020-04-19 20:26:25 +0200
committerRigel Kent <par@rigelk.eu>2020-05-01 16:41:02 +0200
commitd384061366ae06294c0e222f0fb7ec4f0a172f39 (patch)
treeac97c69d7be200ab42d70ba50340b42673a4480e /client/src/app/+admin/follows/video-redundancies-list/video-redundancies-list.component.html
parente0a929179a9dc76e035ca7fda2b61d5ff46afbc5 (diff)
downloadPeerTube-d384061366ae06294c0e222f0fb7ec4f0a172f39.tar.gz
PeerTube-d384061366ae06294c0e222f0fb7ec4f0a172f39.tar.zst
PeerTube-d384061366ae06294c0e222f0fb7ec4f0a172f39.zip
Empty states for tables
Diffstat (limited to 'client/src/app/+admin/follows/video-redundancies-list/video-redundancies-list.component.html')
-rw-r--r--client/src/app/+admin/follows/video-redundancies-list/video-redundancies-list.component.html13
1 files changed, 12 insertions, 1 deletions
diff --git a/client/src/app/+admin/follows/video-redundancies-list/video-redundancies-list.component.html b/client/src/app/+admin/follows/video-redundancies-list/video-redundancies-list.component.html
index a8dcc69d2..f3b980970 100644
--- a/client/src/app/+admin/follows/video-redundancies-list/video-redundancies-list.component.html
+++ b/client/src/app/+admin/follows/video-redundancies-list/video-redundancies-list.component.html
@@ -19,7 +19,7 @@
19 <tr> 19 <tr>
20 <th style="width: 40px;"></th> 20 <th style="width: 40px;"></th>
21 <th style="width: 160px;" i18n *ngIf="isDisplayingRemoteVideos()">Strategy</th> 21 <th style="width: 160px;" i18n *ngIf="isDisplayingRemoteVideos()">Strategy</th>
22 <th i18n pSortableColumn="name">Video name <p-sortIcon field="name"></p-sortIcon></th> 22 <th i18n pSortableColumn="name">Video name <p-sortIcon field="name"></p-sortIcon></th >
23 <th i18n>Video URL</th> 23 <th i18n>Video URL</th>
24 <th style="width: 100px;" i18n *ngIf="isDisplayingRemoteVideos()">Total size</th> 24 <th style="width: 100px;" i18n *ngIf="isDisplayingRemoteVideos()">Total size</th>
25 <th style="width: 80px;"></th> 25 <th style="width: 80px;"></th>
@@ -68,6 +68,17 @@
68 </td> 68 </td>
69 </tr> 69 </tr>
70 </ng-template> 70 </ng-template>
71
72 <ng-template pTemplate="emptymessage">
73 <tr>
74 <td colspan="6">
75 <div class="empty-table-message">
76 <ng-container *ngIf="isDisplayingRemoteVideos()" i18n>Your instance doesn't mirror any video.</ng-container>
77 <ng-container *ngIf="!isDisplayingRemoteVideos()" i18n>Your instance has no mirrored videos.</ng-container>
78 </div>
79 </td>
80 </tr>
81 </ng-template>
71</p-table> 82</p-table>
72 83
73 84