diff options
Diffstat (limited to 'client/src/app/+admin/follows/followers-list')
-rw-r--r-- | client/src/app/+admin/follows/followers-list/followers-list.component.html | 11 | ||||
-rw-r--r-- | client/src/app/+admin/follows/followers-list/followers-list.component.ts | 2 |
2 files changed, 12 insertions, 1 deletions
diff --git a/client/src/app/+admin/follows/followers-list/followers-list.component.html b/client/src/app/+admin/follows/followers-list/followers-list.component.html index 7455cdf2b..d4f2b8dcc 100644 --- a/client/src/app/+admin/follows/followers-list/followers-list.component.html +++ b/client/src/app/+admin/follows/followers-list/followers-list.component.html | |||
@@ -41,4 +41,15 @@ | |||
41 | </td> | 41 | </td> |
42 | </tr> | 42 | </tr> |
43 | </ng-template> | 43 | </ng-template> |
44 | |||
45 | <ng-template pTemplate="emptymessage"> | ||
46 | <tr> | ||
47 | <td colspan="6"> | ||
48 | <div class="empty-table-message"> | ||
49 | <ng-container *ngIf="search" i18n>No follower found matching current filters.</ng-container> | ||
50 | <ng-container *ngIf="!search" i18n>Your instance doesn't have any follower.</ng-container> | ||
51 | </div> | ||
52 | </td> | ||
53 | </tr> | ||
54 | </ng-template> | ||
44 | </p-table> | 55 | </p-table> |
diff --git a/client/src/app/+admin/follows/followers-list/followers-list.component.ts b/client/src/app/+admin/follows/followers-list/followers-list.component.ts index 585902827..81a91c1d1 100644 --- a/client/src/app/+admin/follows/followers-list/followers-list.component.ts +++ b/client/src/app/+admin/follows/followers-list/followers-list.component.ts | |||
@@ -9,7 +9,7 @@ import { I18n } from '@ngx-translate/i18n-polyfill' | |||
9 | @Component({ | 9 | @Component({ |
10 | selector: 'my-followers-list', | 10 | selector: 'my-followers-list', |
11 | templateUrl: './followers-list.component.html', | 11 | templateUrl: './followers-list.component.html', |
12 | styleUrls: [ './followers-list.component.scss' ] | 12 | styleUrls: [ '../follows.component.scss', './followers-list.component.scss' ] |
13 | }) | 13 | }) |
14 | export class FollowersListComponent extends RestTable implements OnInit { | 14 | export class FollowersListComponent extends RestTable implements OnInit { |
15 | followers: ActorFollow[] = [] | 15 | followers: ActorFollow[] = [] |