]>
Commit | Line | Data |
---|---|---|
c8487f3f | 1 | <div class="margin-content"> |
d3e91a5f | 2 | |
57cfff78 C |
3 | <div class="no-results" i18n *ngIf="channelPagination.totalItems === 0">This account does not have channels.</div> |
4 | ||
c8487f3f C |
5 | <div class="channels" myInfiniteScroller (nearOfBottom)="onNearOfBottom()" [autoInit]="true"> |
6 | <div class="section channel" *ngFor="let videoChannel of videoChannels"> | |
7 | <div class="section-title"> | |
dc890263 | 8 | <a [routerLink]="getVideoChannelLink(videoChannel)" i18n-title title="See this video channel"> |
c8487f3f C |
9 | <img [src]="videoChannel.avatarUrl" alt="Avatar" /> |
10 | ||
11 | <div>{{ videoChannel.displayName }}</div> | |
12 | <div i18n class="followers">{{ videoChannel.followersCount }} subscribers</div> | |
13 | </a> | |
bc01017b C |
14 | |
15 | <my-subscribe-button [videoChannel]="videoChannel"></my-subscribe-button> | |
c8487f3f C |
16 | </div> |
17 | ||
fff77ba2 C |
18 | <div *ngIf="getVideosOf(videoChannel)" class="videos"> |
19 | <div class="no-results" i18n *ngIf="getVideosOf(videoChannel).length === 0">This channel does not have videos.</div> | |
20 | ||
21 | <my-video-miniature *ngFor="let video of getVideosOf(videoChannel)" [video]="video" [user]="user" [displayVideoActions]="false"></my-video-miniature> | |
22 | </div> | |
dc890263 C |
23 | |
24 | <a class="show-more" i18n [routerLink]="getVideoChannelLink(videoChannel)"> | |
25 | Show this channel | |
26 | </a> | |
c8487f3f C |
27 | </div> |
28 | </div> | |
29 | </div> |