parent
cd8f207a8e
commit
692a231026
|
@ -4,6 +4,7 @@ import { SharedFormModule } from '../shared-forms'
|
|||
import { SharedGlobalIconModule } from '../shared-icons'
|
||||
import { SharedMainModule } from '../shared-main/shared-main.module'
|
||||
import { SharedThumbnailModule } from '../shared-thumbnail'
|
||||
import { SharedVideoModule } from '../shared-video'
|
||||
import { VideoAddToPlaylistComponent } from './video-add-to-playlist.component'
|
||||
import { VideoPlaylistElementMiniatureComponent } from './video-playlist-element-miniature.component'
|
||||
import { VideoPlaylistMiniatureComponent } from './video-playlist-miniature.component'
|
||||
|
@ -14,7 +15,8 @@ import { VideoPlaylistService } from './video-playlist.service'
|
|||
SharedMainModule,
|
||||
SharedFormModule,
|
||||
SharedThumbnailModule,
|
||||
SharedGlobalIconModule
|
||||
SharedGlobalIconModule,
|
||||
SharedVideoModule
|
||||
],
|
||||
|
||||
declarations: [
|
||||
|
|
|
@ -20,6 +20,14 @@
|
|||
[attr.title]="playlistElement.video.name"
|
||||
>{{ playlistElement.video.name }}</a>
|
||||
|
||||
<span class="video-miniature-created-at-views">
|
||||
<my-date-toggle [date]="playlistElement.video.publishedAt"></my-date-toggle>
|
||||
|
||||
<span class="views" [title]="playlistElement.video.getExactNumberOfViews()">
|
||||
• <my-video-views-counter [video]="playlistElement.video"></my-video-views-counter>
|
||||
</span>
|
||||
</span>
|
||||
|
||||
<a *ngIf="accountLink" tabindex="-1" class="video-info-account" [routerLink]="[ '/a', playlistElement.video.byAccount ]">
|
||||
{{ playlistElement.video.byAccount }}
|
||||
</a>
|
||||
|
|
Loading…
Reference in New Issue