aboutsummaryrefslogblamecommitdiffhomepage
path: root/client/src/app/shared/video/video-miniature.component.html
blob: 7ac017235c7852c2002548b446a4210dbd74f84c (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
                             
                                                                                             
 
                                           
                                       





                                                                                                                                      

           
                                                                                                                                         
                                                               

        
<div class="video-miniature">
  <my-video-thumbnail [video]="video" [nsfw]="isVideoNSFWForThisUser()"></my-video-thumbnail>

  <div class="video-miniature-information">
    <span class="video-miniature-name">
      <a
        class="video-miniature-name"
        [routerLink]="['/videos/watch', video.uuid]" [attr.title]="video.name" [ngClass]="{ 'blur-filter': isVideoNSFWForThisUser() }"
      >
          {{ video.name }}
      </a>
    </span>

    <span class="video-miniature-created-at-views">{{ video.createdAt | myFromNow }} - {{ video.views | myNumberFormatter }} views</span>
    <span class="video-miniature-account">{{ video.by }}</span>
  </div>
</div>