diff options
Diffstat (limited to 'client/src/app/+about/about-follows/about-follows.component.html')
-rw-r--r-- | client/src/app/+about/about-follows/about-follows.component.html | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/client/src/app/+about/about-follows/about-follows.component.html b/client/src/app/+about/about-follows/about-follows.component.html index 438e836e0..60cf3a28e 100644 --- a/client/src/app/+about/about-follows/about-follows.component.html +++ b/client/src/app/+about/about-follows/about-follows.component.html | |||
@@ -1,7 +1,7 @@ | |||
1 | <div class="row"> | 1 | <div class="row"> |
2 | <h1 class="sr-only" i18n>Follows</h1> | 2 | <h1 class="sr-only" i18n>Follows</h1> |
3 | <div class="col-xl-6 col-md-12"> | 3 | <div class="col-xl-6 col-md-12"> |
4 | <h2 i18n class="subtitle">Followers instances</h2> | 4 | <h2 i18n class="subtitle">Followers instances ({{ followersPagination.totalItems }})</h2> |
5 | 5 | ||
6 | <div i18n class="no-results" *ngIf="followersPagination.totalItems === 0">This instance does not have instances followers.</div> | 6 | <div i18n class="no-results" *ngIf="followersPagination.totalItems === 0">This instance does not have instances followers.</div> |
7 | 7 | ||
@@ -13,13 +13,13 @@ | |||
13 | {{ follower }} | 13 | {{ follower }} |
14 | </a> | 14 | </a> |
15 | </ng-container> | 15 | </ng-container> |
16 | 16 | ||
17 | <a i18n class="showMore" *ngIf="!showMoreFollowers" (click)="loadAllFollowers()" (click)="showMoreFollowers=true">Show full list</a> | 17 | <button i18n class="showMore" *ngIf="!showMoreFollowers && followersPagination.totalItems > 0" (click)="loadAllFollowers()" (click)="showMoreFollowers=true">Show full list</button> |
18 | <a i18n class="showMore" *ngIf="showMoreFollowers" (click)= "showMoreFollowers=false">Show less</a> | 18 | <button i18n class="showMore" *ngIf="showMoreFollowers" (click)= "showMoreFollowers=false">Show less</button> |
19 | </div> | 19 | </div> |
20 | 20 | ||
21 | <div class="col-xl-6 col-md-12"> | 21 | <div class="col-xl-6 col-md-12"> |
22 | <h2 i18n class="subtitle">Followings instances</h2> | 22 | <h2 i18n class="subtitle">Followings instances ({{ followingsPagination.totalItems }})</h2> |
23 | 23 | ||
24 | <div i18n class="no-results" *ngIf="followingsPagination.totalItems === 0">This instance is not following any other.</div> | 24 | <div i18n class="no-results" *ngIf="followingsPagination.totalItems === 0">This instance is not following any other.</div> |
25 | 25 | ||
@@ -32,8 +32,8 @@ | |||
32 | </a> | 32 | </a> |
33 | </ng-container> | 33 | </ng-container> |
34 | 34 | ||
35 | <a i18n class="showMore" *ngIf="!showMoreFollowings" (click)="loadAllFollowings()" (click)="showMoreFollowings=true">Show full list</a> | 35 | <button i18n class="showMore" *ngIf="!showMoreFollowings && followingsPagination.totalItems > 0" (click)="loadAllFollowings()" (click)="showMoreFollowings=true">Show full list</button> |
36 | <a i18n class="showMore" *ngIf="showMoreFollowings" (click)="showMoreFollowings=false">Show less</a> | 36 | <button i18n class="showMore" *ngIf="showMoreFollowings" (click)="showMoreFollowings=false">Show less</button> |
37 | </div> | 37 | </div> |
38 | 38 | ||
39 | </div> | 39 | </div> |