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

                                               
                                  
                                                                                                                        
 
                                                                                                                               
 

                                                                                                          
        
 
                                                                                                                                                                         


                                  
                                                                                                                             
 
                                                                                                                                    
 

                                                                                                             
        
 
                                                                                                                                                                            


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

  <div class="col-xl-6 col-md-12">
    <h2 i18n class="fs-5-5 mb-4 fw-semibold">Followers of {{ instanceName }} ({{ followersPagination.totalItems }})</h2>

    <div i18n class="no-results" *ngIf="followersPagination.totalItems === 0">{{ instanceName }} does not have followers.</div>

    <a *ngFor="let follower of followers" [href]="follower.url" target="_blank" rel="noopener noreferrer">
      {{ follower.name }}
    </a>

    <button i18n class="peertube-button-link grey-button mt-1" *ngIf="!loadedAllFollowers && canLoadMoreFollowers()" (click)="loadAllFollowers()">Show full list</button>
  </div>

  <div class="col-xl-6 col-md-12">
    <h2 i18n class="fs-5-5 mb-4 fw-semibold">Subscriptions of {{ instanceName }} ({{ followingsPagination.totalItems }})</h2>

    <div i18n class="no-results" *ngIf="followingsPagination.totalItems === 0">{{ instanceName }} does not have subscriptions.</div>

    <a *ngFor="let following of followings" [href]="following.url" target="_blank" rel="noopener noreferrer">
      {{ following.name }}
    </a>

    <button i18n class="peertube-button-link grey-button mt-1" *ngIf="!loadedAllFollowings && canLoadMoreFollowings()" (click)="loadAllFollowings()">Show full list</button>
  </div>

</div>