]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blame - client/src/app/shared/shared-video-playlist/video-playlist-miniature.component.html
Move to sass module
[github/Chocobozzz/PeerTube.git] / client / src / app / shared / shared-video-playlist / video-playlist-miniature.component.html
CommitLineData
0f7407d9 1<div class="miniature" [ngClass]="{ 'no-videos': playlist.videosLength === 0, 'to-manage': toManage, 'display-as-row': displayAsRow }">
37a44fc9
C
2 <my-link
3 [internalLink]="routerLink" [href]="playlistHref" [target]="playlistTarget"
4 [title]="playlist.description" class="miniature-thumbnail"
830b4faf
C
5 >
6 <img alt="" [attr.aria-labelledby]="playlist.displayName" [attr.src]="playlist.thumbnailUrl" />
7
8 <div class="miniature-playlist-info-overlay">
c4710631 9 <ng-container i18n>{playlist.videosLength, plural, =0 {No videos} =1 {1 video} other {{{ playlist.videosLength }} videos}}</ng-container>
830b4faf
C
10 </div>
11
12 <div class="play-overlay">
13 <div class="icon"></div>
14 </div>
37a44fc9 15 </my-link>
830b4faf 16
bce47964 17 <div class="miniature-info">
37a44fc9
C
18 <my-link
19 [internalLink]="routerLink" [href]="playlistHref" [target]="playlistTarget"
20 [title]="playlist.description" class="miniature-name" tabindex="-1"
21 >
830b4faf 22 {{ playlist.displayName }}
37a44fc9 23 </my-link>
bce47964 24
71887396 25 <a i18n [routerLink]="[ '/c', playlist.videoChannelBy ]" class="by" *ngIf="displayChannel && playlist.videoChannelBy">
3143ae17
C
26 {{ playlist.videoChannelBy }}
27 </a>
bce47964 28
3143ae17
C
29 <div class="privacy-date">
30 <span class="video-info-privacy" *ngIf="displayPrivacy">{{ playlist.privacy.label }}</span>
bce47964 31
3143ae17 32 <span i18n class="updated-at">Updated {{ playlist.updatedAt | myFromNow }}</span>
bce47964
C
33 </div>
34
35 <div *ngIf="displayDescription" class="video-info-description">{{ playlist.description }}</div>
830b4faf
C
36 </div>
37</div>