]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blob - client/src/app/+my-account/my-account-subscriptions/my-account-subscriptions.component.html
Add a message if the user don't have any subscriptions
[github/Chocobozzz/PeerTube.git] / client / src / app / +my-account / my-account-subscriptions / my-account-subscriptions.component.html
1 <div class="no-results" i18n *ngIf="pagination.totalItems === 0">You don't have any subscriptions yet.</div>
2
3 <div class="video-channels" myInfiniteScroller [autoInit]="true" (nearOfBottom)="onNearOfBottom()">
4 <div *ngFor="let videoChannel of videoChannels" class="video-channel">
5 <a [routerLink]="[ '/video-channels', videoChannel.nameWithHost ]">
6 <img [src]="videoChannel.avatarUrl" alt="Avatar" />
7 </a>
8
9 <div class="video-channel-info">
10 <a [routerLink]="[ '/video-channels', videoChannel.nameWithHost ]" class="video-channel-names" i18n-title title="Go to the channel">
11 <div class="video-channel-display-name">{{ videoChannel.displayName }}</div>
12 <div class="video-channel-name">{{ videoChannel.nameWithHost }}</div>
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>