aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src/app/+accounts/account-video-channels/account-video-channels.component.html
blob: 25b74027ecb78e5ef6f7169ee2a54368c223f484 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
<div class="margin-content">

  <div class="channels" myInfiniteScroller (nearOfBottom)="onNearOfBottom()" [autoInit]="true">
    <div class="section channel" *ngFor="let videoChannel of videoChannels">
      <div class="section-title">
        <a [routerLink]="[ '/video-channels', videoChannel.nameWithHost ]" i18n-title title="See this video channel">
          <img [src]="videoChannel.avatarUrl" alt="Avatar" />

          <div>{{ videoChannel.displayName }}</div>
          <div i18n class="followers">{{ videoChannel.followersCount }} subscribers</div>
        </a>

        <my-subscribe-button [videoChannel]="videoChannel"></my-subscribe-button>
      </div>

      <my-video-miniature *ngFor="let video of getVideosOf(videoChannel)" [video]="video" [user]="user" [displayVideoActions]="false"></my-video-miniature>
    </div>
  </div>
</div>