]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blame - client/src/app/+my-library/my-follows/my-subscriptions.component.html
Migrate to bootstrap 5
[github/Chocobozzz/PeerTube.git] / client / src / app / +my-library / my-follows / my-subscriptions.component.html
CommitLineData
d607fc24 1<h1>
4f5d0459
RK
2 <span>
3 <my-global-icon iconName="subscriptions" aria-hidden="true"></my-global-icon>
4 <ng-container i18n>My subscriptions</ng-container>
4c8749cb 5 <span *ngIf="pagination.totalItems" class="pt-badge badge-secondary"> {{ pagination.totalItems }}</span>
4f5d0459 6 </span>
d607fc24 7</h1>
4f5d0459 8
0f7407d9 9<div class="video-subscriptions-header">
2e46eb97 10 <my-advanced-input-filter (search)="onSearch($event)"></my-advanced-input-filter>
d607fc24 11</div>
ed5bb517 12
d8b34ee5 13<div class="no-results" i18n *ngIf="pagination.totalItems === 0">You don't have any subscription yet.</div>
a8936810 14
4beda9e1
C
15<div class="actors" myInfiniteScroller (nearOfBottom)="onNearOfBottom()" [dataObservable]="onDataSubject.asObservable()">
16 <div *ngFor="let videoChannel of videoChannels" class="actor">
d0800f76 17 <my-actor-avatar [channel]="videoChannel" [internalHref]="[ '/c', videoChannel.nameWithHost ]" size="80"></my-actor-avatar>
22a16e36 18
4beda9e1
C
19 <div class="actor-info">
20 <a [routerLink]="[ '/c', videoChannel.nameWithHost ]" class="actor-names" i18n-title title="Channel page">
21 <div class="actor-display-name">{{ videoChannel.displayName }}</div>
22 <div class="actor-name">{{ videoChannel.nameWithHost }}</div>
22a16e36
C
23 </a>
24
4beda9e1 25 <div i18n class="actor-followers">{{ videoChannel.followersCount }} subscribers</div>
22a16e36 26
71887396 27 <a [routerLink]="[ '/a', videoChannel.ownerBy ]" i18n-title title="Owner account page" class="actor-owner">
22a16e36 28 <span i18n>Created by {{ videoChannel.ownerBy }}</span>
746018f6
C
29
30 <my-actor-avatar [account]="videoChannel.ownerAccount" size="18"></my-actor-avatar>
22a16e36
C
31 </a>
32 </div>
33
41eb700f 34 <my-subscribe-button [videoChannels]="[videoChannel]"></my-subscribe-button>
22a16e36
C
35 </div>
36</div>