diff options
-rw-r--r-- | client/src/app/shared/shared-video-playlist/shared-video-playlist.module.ts | 4 | ||||
-rw-r--r-- | client/src/app/shared/shared-video-playlist/video-playlist-element-miniature.component.html | 8 |
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' | |||
4 | import { SharedGlobalIconModule } from '../shared-icons' | 4 | import { SharedGlobalIconModule } from '../shared-icons' |
5 | import { SharedMainModule } from '../shared-main/shared-main.module' | 5 | import { SharedMainModule } from '../shared-main/shared-main.module' |
6 | import { SharedThumbnailModule } from '../shared-thumbnail' | 6 | import { SharedThumbnailModule } from '../shared-thumbnail' |
7 | import { SharedVideoModule } from '../shared-video' | ||
7 | import { VideoAddToPlaylistComponent } from './video-add-to-playlist.component' | 8 | import { VideoAddToPlaylistComponent } from './video-add-to-playlist.component' |
8 | import { VideoPlaylistElementMiniatureComponent } from './video-playlist-element-miniature.component' | 9 | import { VideoPlaylistElementMiniatureComponent } from './video-playlist-element-miniature.component' |
9 | import { VideoPlaylistMiniatureComponent } from './video-playlist-miniature.component' | 10 | import { 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> |