diff options
Diffstat (limited to 'client/src/app/+my-library/my-follows/my-subscriptions.component.html')
-rw-r--r-- | client/src/app/+my-library/my-follows/my-subscriptions.component.html | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/client/src/app/+my-library/my-follows/my-subscriptions.component.html b/client/src/app/+my-library/my-follows/my-subscriptions.component.html new file mode 100644 index 000000000..775f0e783 --- /dev/null +++ b/client/src/app/+my-library/my-follows/my-subscriptions.component.html | |||
@@ -0,0 +1,36 @@ | |||
1 | <h1> | ||
2 | <span> | ||
3 | <my-global-icon iconName="subscriptions" aria-hidden="true"></my-global-icon> | ||
4 | <ng-container i18n>My subscriptions</ng-container> | ||
5 | <span class="badge badge-secondary"> {{ pagination.totalItems }}</span> | ||
6 | </span> | ||
7 | </h1> | ||
8 | |||
9 | <div class="video-subscriptions-header"> | ||
10 | <my-advanced-input-filter (search)="onSearch($event)"></my-advanced-input-filter> | ||
11 | </div> | ||
12 | |||
13 | <div class="no-results" i18n *ngIf="pagination.totalItems === 0">You don't have any subscription yet.</div> | ||
14 | |||
15 | <div class="actors" myInfiniteScroller (nearOfBottom)="onNearOfBottom()" [dataObservable]="onDataSubject.asObservable()"> | ||
16 | <div *ngFor="let videoChannel of videoChannels" class="actor"> | ||
17 | <my-actor-avatar [channel]="videoChannel" [internalHref]="[ '/c', videoChannel.nameWithHost ]"></my-actor-avatar> | ||
18 | |||
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> | ||
23 | </a> | ||
24 | |||
25 | <div i18n class="actor-followers">{{ videoChannel.followersCount }} subscribers</div> | ||
26 | |||
27 | <a [routerLink]="[ '/a', videoChannel.ownerBy ]" i18n-title title="Owner account page" class="actor-owner"> | ||
28 | <span i18n>Created by {{ videoChannel.ownerBy }}</span> | ||
29 | |||
30 | <my-actor-avatar [account]="videoChannel.ownerAccount" size="18"></my-actor-avatar> | ||
31 | </a> | ||
32 | </div> | ||
33 | |||
34 | <my-subscribe-button [videoChannels]="[videoChannel]"></my-subscribe-button> | ||
35 | </div> | ||
36 | </div> | ||