aboutsummaryrefslogblamecommitdiffhomepage
path: root/client/src/app/videos/video-list/video-overview.component.html
blob: be9db3d90095942185047f8380a15e130a7555a2 (plain) (tree)
1
2
3
4
5
6
7





                                                                   
                                                                                                                       








                                                                                                                 
                                                                                               






                                                                                                                 
                                                                        
                                    




                                                                           







                                                                                                                 
<div class="margin-content">

  <div class="no-results" i18n *ngIf="notResults">No results.</div>

  <div class="section" *ngFor="let object of overview.categories">
    <div class="section-title" i18n>
      <a routerLink="/search" [queryParams]="{ categoryOneOf: [ object.category.id ] }">{{ object.category.label }}</a>
    </div>

    <div>
      <my-video-miniature *ngFor="let video of object.videos" [video]="video" [user]="user"></my-video-miniature>
    </div>
  </div>

  <div class="section" *ngFor="let object of overview.tags">
    <div class="section-title" i18n>
      <a routerLink="/search" [queryParams]="{ tagOneOf: [ object.tag ] }">{{ object.tag }}</a>
    </div>

    <div>
      <my-video-miniature *ngFor="let video of object.videos" [video]="video" [user]="user"></my-video-miniature>
    </div>
  </div>

  <div class="section channel" *ngFor="let object of overview.channels">
    <div class="section-title" i18n>
      <a [routerLink]="[ '/video-channels', buildVideoChannelBy(object) ]">
        <img [src]="buildVideoChannelAvatarUrl(object)" alt="Avatar" />

        <div>{{ object.channel.displayName }}</div>
      </a>
    </div>

    <div>
      <my-video-miniature *ngFor="let video of object.videos" [video]="video" [user]="user"></my-video-miniature>
    </div>
  </div>

</div>