diff options
author | Rigel Kent <sendmemail@rigelk.eu> | 2020-04-19 20:26:25 +0200 |
---|---|---|
committer | Rigel Kent <par@rigelk.eu> | 2020-05-01 16:41:02 +0200 |
commit | d384061366ae06294c0e222f0fb7ec4f0a172f39 (patch) | |
tree | ac97c69d7be200ab42d70ba50340b42673a4480e /client/src/app/+admin/follows/following-list/following-list.component.html | |
parent | e0a929179a9dc76e035ca7fda2b61d5ff46afbc5 (diff) | |
download | PeerTube-d384061366ae06294c0e222f0fb7ec4f0a172f39.tar.gz PeerTube-d384061366ae06294c0e222f0fb7ec4f0a172f39.tar.zst PeerTube-d384061366ae06294c0e222f0fb7ec4f0a172f39.zip |
Empty states for tables
Diffstat (limited to 'client/src/app/+admin/follows/following-list/following-list.component.html')
-rw-r--r-- | client/src/app/+admin/follows/following-list/following-list.component.html | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/client/src/app/+admin/follows/following-list/following-list.component.html b/client/src/app/+admin/follows/following-list/following-list.component.html index f3bb7216b..e4189d334 100644 --- a/client/src/app/+admin/follows/following-list/following-list.component.html +++ b/client/src/app/+admin/follows/following-list/following-list.component.html | |||
@@ -45,6 +45,17 @@ | |||
45 | </td> | 45 | </td> |
46 | </tr> | 46 | </tr> |
47 | </ng-template> | 47 | </ng-template> |
48 | |||
49 | <ng-template pTemplate="emptymessage"> | ||
50 | <tr> | ||
51 | <td colspan="6"> | ||
52 | <div class="empty-table-message"> | ||
53 | <ng-container *ngIf="search" i18n>No host found matching current filters.</ng-container> | ||
54 | <ng-container *ngIf="!search" i18n>Your instance is not follwing any host.</ng-container> | ||
55 | </div> | ||
56 | </td> | ||
57 | </tr> | ||
58 | </ng-template> | ||
48 | </p-table> | 59 | </p-table> |
49 | 60 | ||
50 | <my-batch-domains-modal #batchDomainsModal i18n-action action="Follow domains" (domains)="addFollowing($event)"></my-batch-domains-modal> | 61 | <my-batch-domains-modal #batchDomainsModal i18n-action action="Follow domains" (domains)="addFollowing($event)"></my-batch-domains-modal> |