aboutsummaryrefslogblamecommitdiffhomepage
path: root/client/src/app/+about/about-follows/about-follows.component.html
blob: f16f8bd7150897d4545b97aad48d8a91ad83c559 (plain) (tree)
1
2
3
4
5
6
7
8
9
                 

                                               
                                  
                                                                                            
 
                                                                                                                                    

                                                                                                                 
                   
        
 
                                                                                                                                             


                                  
                                                                                              
 
                                                                                                                              



                                                                                                                    
 
                                                                                                                                                


        
<div class="row">
  <h1 class="visually-hidden" i18n>Follows</h1>

  <div class="col-xl-6 col-md-12">
    <h2 i18n class="subtitle">Follower instances ({{ followersPagination.totalItems }})</h2>

    <div i18n class="no-results" *ngIf="followersPagination.totalItems === 0">This instance does not have instances followers.</div>

    <a *ngFor="let follower of followers" [href]="buildLink(follower)" target="_blank" rel="noopener noreferrer">
      {{ follower}}
    </a>

    <button i18n class="show-more" *ngIf="!loadedAllFollowers && canLoadMoreFollowers()" (click)="loadAllFollowers()">Show full list</button>
  </div>

  <div class="col-xl-6 col-md-12">
    <h2 i18n class="subtitle">Following instances ({{ followingsPagination.totalItems }})</h2>

    <div i18n class="no-results" *ngIf="followingsPagination.totalItems === 0">This instance is not following any other.</div>

    <a *ngFor="let following of followings" [href]="buildLink(following)" target="_blank" rel="noopener noreferrer">
      {{ following }}
    </a>

    <button i18n class="show-more" *ngIf="!loadedAllFollowings && canLoadMoreFollowings()" (click)="loadAllFollowings()">Show full list</button>
  </div>

</div>