]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blame - client/src/app/+my-account/my-account-subscriptions/my-account-subscriptions.component.html
Fix infinite scroll on big screens
[github/Chocobozzz/PeerTube.git] / client / src / app / +my-account / my-account-subscriptions / my-account-subscriptions.component.html
CommitLineData
a8936810
C
1<div class="no-results" i18n *ngIf="pagination.totalItems === 0">You don't have any subscriptions yet.</div>
2
ad453580 3<div class="video-channels" myInfiniteScroller [autoInit]="true" (nearOfBottom)="onNearOfBottom()" [dataObservable]="onDataSubject.asObservable()">
22a16e36 4 <div *ngFor="let videoChannel of videoChannels" class="video-channel">
f5b0af50 5 <a [routerLink]="[ '/video-channels', videoChannel.nameWithHost ]">
22a16e36
C
6 <img [src]="videoChannel.avatarUrl" alt="Avatar" />
7 </a>
8
9 <div class="video-channel-info">
f5b0af50 10 <a [routerLink]="[ '/video-channels', videoChannel.nameWithHost ]" class="video-channel-names" i18n-title title="Go to the channel">
22a16e36 11 <div class="video-channel-display-name">{{ videoChannel.displayName }}</div>
f5b0af50 12 <div class="video-channel-name">{{ videoChannel.nameWithHost }}</div>
22a16e36
C
13 </a>
14
15 <div i18n class="video-channel-followers">{{ videoChannel.followersCount }} subscribers</div>
16
17 <a [routerLink]="[ '/accounts', videoChannel.ownerBy ]" i18n-title title="Go the owner account page" class="actor-owner">
18 <span i18n>Created by {{ videoChannel.ownerBy }}</span>
19 <img [src]="videoChannel.ownerAvatarUrl" alt="Owner account avatar" />
20 </a>
21 </div>
22
23 <my-subscribe-button [videoChannel]="videoChannel"></my-subscribe-button>
24 </div>
25</div>