aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src/app/account/account-videos
diff options
context:
space:
mode:
Diffstat (limited to 'client/src/app/account/account-videos')
-rw-r--r--client/src/app/account/account-videos/account-videos.component.html2
-rw-r--r--client/src/app/account/account-videos/account-videos.component.scss10
-rw-r--r--client/src/app/account/account-videos/account-videos.component.ts2
3 files changed, 12 insertions, 2 deletions
diff --git a/client/src/app/account/account-videos/account-videos.component.html b/client/src/app/account/account-videos/account-videos.component.html
index f69c0487d..4f3a774bd 100644
--- a/client/src/app/account/account-videos/account-videos.component.html
+++ b/client/src/app/account/account-videos/account-videos.component.html
@@ -12,7 +12,7 @@
12 <my-video-thumbnail [video]="video"></my-video-thumbnail> 12 <my-video-thumbnail [video]="video"></my-video-thumbnail>
13 13
14 <div class="video-info"> 14 <div class="video-info">
15 <div class="video-info-name">{{ video.name }}</div> 15 <a class="video-info-name" [routerLink]="['/videos/watch', video.uuid]" [attr.title]="video.name">{{ video.name }}</a>
16 <span class="video-info-date-views">{{ video.createdAt | myFromNow }} - {{ video.views | myNumberFormatter }} views</span> 16 <span class="video-info-date-views">{{ video.createdAt | myFromNow }} - {{ video.views | myNumberFormatter }} views</span>
17 </div> 17 </div>
18 18
diff --git a/client/src/app/account/account-videos/account-videos.component.scss b/client/src/app/account/account-videos/account-videos.component.scss
index 28b298c3d..0d478edd7 100644
--- a/client/src/app/account/account-videos/account-videos.component.scss
+++ b/client/src/app/account/account-videos/account-videos.component.scss
@@ -43,7 +43,7 @@
43 43
44.video { 44.video {
45 display: flex; 45 display: flex;
46 height: 130px; 46 min-height: 130px;
47 padding-bottom: 20px; 47 padding-bottom: 20px;
48 48
49 input[type=checkbox] { 49 input[type=checkbox] {
@@ -68,6 +68,10 @@
68 flex-grow: 1; 68 flex-grow: 1;
69 69
70 .video-info-name { 70 .video-info-name {
71 @include disable-default-a-behaviour;
72
73 color: #000;
74 display: block;
71 font-size: 16px; 75 font-size: 16px;
72 font-weight: $font-semibold; 76 font-weight: $font-semibold;
73 } 77 }
@@ -76,6 +80,10 @@
76 font-size: 13px; 80 font-size: 13px;
77 } 81 }
78 } 82 }
83
84 .video-buttons {
85 min-width: 190px;
86 }
79} 87}
80 88
81@media screen and (max-width: 800px) { 89@media screen and (max-width: 800px) {
diff --git a/client/src/app/account/account-videos/account-videos.component.ts b/client/src/app/account/account-videos/account-videos.component.ts
index 5f12cfce0..22941619d 100644
--- a/client/src/app/account/account-videos/account-videos.component.ts
+++ b/client/src/app/account/account-videos/account-videos.component.ts
@@ -4,6 +4,7 @@ import { NotificationsService } from 'angular2-notifications'
4import 'rxjs/add/observable/from' 4import 'rxjs/add/observable/from'
5import 'rxjs/add/operator/concatAll' 5import 'rxjs/add/operator/concatAll'
6import { Observable } from 'rxjs/Observable' 6import { Observable } from 'rxjs/Observable'
7import { AuthService } from '../../core/auth'
7import { ConfirmService } from '../../core/confirm' 8import { ConfirmService } from '../../core/confirm'
8import { AbstractVideoList } from '../../shared/video/abstract-video-list' 9import { AbstractVideoList } from '../../shared/video/abstract-video-list'
9import { Video } from '../../shared/video/video.model' 10import { Video } from '../../shared/video/video.model'
@@ -21,6 +22,7 @@ export class AccountVideosComponent extends AbstractVideoList implements OnInit
21 22
22 constructor (protected router: Router, 23 constructor (protected router: Router,
23 protected route: ActivatedRoute, 24 protected route: ActivatedRoute,
25 protected authService: AuthService,
24 protected notificationsService: NotificationsService, 26 protected notificationsService: NotificationsService,
25 protected confirmService: ConfirmService, 27 protected confirmService: ConfirmService,
26 private videoService: VideoService) { 28 private videoService: VideoService) {