aboutsummaryrefslogblamecommitdiffhomepage
path: root/client/src/app/+video-channels/video-channels.component.html
blob: 1941a2eab436cc0274605634f16e0d1361f2dad7 (plain) (tree)
1
2
3
4
5
6
7
8
9






                                                         

                                                                              
                                                                       

                                                                                   
              
                                                                                             
 

                                                                                                                                 

                                                                                



                       
                                                                                         
                                                                                       






                                   
<div *ngIf="videoChannel" class="row">
  <div class="sub-menu">

    <div class="actor">
      <img [src]="videoChannel.avatarUrl" alt="Avatar" />

      <div class="actor-info">
        <div class="actor-names">
          <div class="actor-display-name">{{ videoChannel.displayName }}</div>
          <div class="actor-name">{{ videoChannel.nameWithHost }}</div>

          <my-subscribe-button [videoChannel]="videoChannel"></my-subscribe-button>
        </div>
        <div i18n class="actor-followers">{{ videoChannel.followersCount }} subscribers</div>

        <a [routerLink]="[ '/accounts', videoChannel.ownerBy ]" i18n-title title="Go the owner account page" class="actor-owner">
          <span i18n>Created by {{ videoChannel.ownerBy }}</span>
          <img [src]="videoChannel.ownerAvatarUrl" alt="Owner account avatar" />
        </a>
      </div>
    </div>

    <div class="links">
      <a i18n routerLink="videos" routerLinkActive="active" class="title-page">Videos</a>
      <a i18n routerLink="about" routerLinkActive="active" class="title-page">About</a>
    </div>
  </div>

  <div class="margin-content">
    <router-outlet></router-outlet>
  </div>
</div>