aboutsummaryrefslogtreecommitdiffhomepage
path: root/client
diff options
context:
space:
mode:
Diffstat (limited to 'client')
-rw-r--r--client/src/app/shared/shared-video-playlist/shared-video-playlist.module.ts4
-rw-r--r--client/src/app/shared/shared-video-playlist/video-playlist-element-miniature.component.html8
2 files changed, 11 insertions, 1 deletions
diff --git a/client/src/app/shared/shared-video-playlist/shared-video-playlist.module.ts b/client/src/app/shared/shared-video-playlist/shared-video-playlist.module.ts
index 0566b1592..e63859cdf 100644
--- a/client/src/app/shared/shared-video-playlist/shared-video-playlist.module.ts
+++ b/client/src/app/shared/shared-video-playlist/shared-video-playlist.module.ts
@@ -4,6 +4,7 @@ import { SharedFormModule } from '../shared-forms'
4import { SharedGlobalIconModule } from '../shared-icons' 4import { SharedGlobalIconModule } from '../shared-icons'
5import { SharedMainModule } from '../shared-main/shared-main.module' 5import { SharedMainModule } from '../shared-main/shared-main.module'
6import { SharedThumbnailModule } from '../shared-thumbnail' 6import { SharedThumbnailModule } from '../shared-thumbnail'
7import { SharedVideoModule } from '../shared-video'
7import { VideoAddToPlaylistComponent } from './video-add-to-playlist.component' 8import { VideoAddToPlaylistComponent } from './video-add-to-playlist.component'
8import { VideoPlaylistElementMiniatureComponent } from './video-playlist-element-miniature.component' 9import { VideoPlaylistElementMiniatureComponent } from './video-playlist-element-miniature.component'
9import { VideoPlaylistMiniatureComponent } from './video-playlist-miniature.component' 10import { VideoPlaylistMiniatureComponent } from './video-playlist-miniature.component'
@@ -14,7 +15,8 @@ import { VideoPlaylistService } from './video-playlist.service'
14 SharedMainModule, 15 SharedMainModule,
15 SharedFormModule, 16 SharedFormModule,
16 SharedThumbnailModule, 17 SharedThumbnailModule,
17 SharedGlobalIconModule 18 SharedGlobalIconModule,
19 SharedVideoModule
18 ], 20 ],
19 21
20 declarations: [ 22 declarations: [
diff --git a/client/src/app/shared/shared-video-playlist/video-playlist-element-miniature.component.html b/client/src/app/shared/shared-video-playlist/video-playlist-element-miniature.component.html
index e74f58f47..9cdee96b4 100644
--- a/client/src/app/shared/shared-video-playlist/video-playlist-element-miniature.component.html
+++ b/client/src/app/shared/shared-video-playlist/video-playlist-element-miniature.component.html
@@ -20,6 +20,14 @@
20 [attr.title]="playlistElement.video.name" 20 [attr.title]="playlistElement.video.name"
21 >{{ playlistElement.video.name }}</a> 21 >{{ playlistElement.video.name }}</a>
22 22
23 <span class="video-miniature-created-at-views">
24 <my-date-toggle [date]="playlistElement.video.publishedAt"></my-date-toggle>
25
26 <span class="views" [title]="playlistElement.video.getExactNumberOfViews()">
27 • <my-video-views-counter [video]="playlistElement.video"></my-video-views-counter>
28 </span>
29 </span>
30
23 <a *ngIf="accountLink" tabindex="-1" class="video-info-account" [routerLink]="[ '/a', playlistElement.video.byAccount ]"> 31 <a *ngIf="accountLink" tabindex="-1" class="video-info-account" [routerLink]="[ '/a', playlistElement.video.byAccount ]">
24 {{ playlistElement.video.byAccount }} 32 {{ playlistElement.video.byAccount }}
25 </a> 33 </a>