]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blobdiff - client/src/app/+about/about-follows/about-follows.component.html
Add button to display full list in About page
[github/Chocobozzz/PeerTube.git] / client / src / app / +about / about-follows / about-follows.component.html
index 6d38e2109583558f5a1c29a39ab11b36cea2be2a..fbca9f3b08adf136c19af2710f3e29d057234026 100644 (file)
@@ -1,4 +1,4 @@
-<div class="row" myInfiniteScroller [autoInit]="true" (nearOfBottom)="onNearOfBottom()" [dataObservable]="onDataSubject.asObservable()">
+<div class="row">
   <h1 class="sr-only" i18n>Follows</h1>
   <div class="col-xl-6 col-md-12">
     <h2 i18n class="subtitle">Followers instances</h2>
@@ -8,6 +8,8 @@
     <a *ngFor="let follower of followers" [href]="buildLink(follower)" target="_blank" rel="noopener noreferrer">
       {{ follower }}
     </a>
+
+    <a id="showMore" href="javascript:;" *ngIf="!showMoreFollowers" (click)="loadAllFollowers()" (click)= "showMoreFollowers=true">Show full list</a> 
   </div>
 
   <div class="col-xl-6 col-md-12">
@@ -18,6 +20,8 @@
     <a *ngFor="let following of followings" [href]="buildLink(following)" target="_blank" rel="noopener noreferrer">
       {{ following }}
     </a>
+    
+    <a id="showMore" href="javascript:;" *ngIf="!showMoreFollowings" (click)="loadAllFollowings()" (click)= "showMoreFollowings=true">Show full list</a>   
   </div>
 
 </div>