aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/app/videos
diff options
context:
space:
mode:
authorChocobozzz <florian.bigard@gmail.com>2016-06-01 20:36:27 +0200
committerChocobozzz <florian.bigard@gmail.com>2016-06-01 20:36:27 +0200
commita840d396093ef968f9512862197ac166a1ff9921 (patch)
treef7e4c93ee3ae8a44bd14fd1f7c74234eef7469ef /client/app/videos
parent575fdcece562b914149f89f5a5b96ab206648f09 (diff)
downloadPeerTube-a840d396093ef968f9512862197ac166a1ff9921.tar.gz
PeerTube-a840d396093ef968f9512862197ac166a1ff9921.tar.zst
PeerTube-a840d396093ef968f9512862197ac166a1ff9921.zip
Add authentication tokens to make friends/quit friends
Diffstat (limited to 'client/app/videos')
-rw-r--r--client/app/videos/shared/video.service.ts2
-rw-r--r--client/app/videos/video-add/video-add.component.ts2
-rw-r--r--client/app/videos/video-list/video-list.component.ts3
-rw-r--r--client/app/videos/video-list/video-miniature.component.ts2
4 files changed, 4 insertions, 5 deletions
diff --git a/client/app/videos/shared/video.service.ts b/client/app/videos/shared/video.service.ts
index 7b6519f00..a786b2ab2 100644
--- a/client/app/videos/shared/video.service.ts
+++ b/client/app/videos/shared/video.service.ts
@@ -5,7 +5,7 @@ import { Observable } from 'rxjs/Rx';
5import { Pagination } from './pagination.model'; 5import { Pagination } from './pagination.model';
6import { Search } from '../../shared/index'; 6import { Search } from '../../shared/index';
7import { SortField } from './sort-field.type'; 7import { SortField } from './sort-field.type';
8import { AuthService } from '../../users/index'; 8import { AuthService } from '../../shared/index';
9import { Video } from './video.model'; 9import { Video } from './video.model';
10 10
11@Injectable() 11@Injectable()
diff --git a/client/app/videos/video-add/video-add.component.ts b/client/app/videos/video-add/video-add.component.ts
index 619a4f4d8..e17b1b0f6 100644
--- a/client/app/videos/video-add/video-add.component.ts
+++ b/client/app/videos/video-add/video-add.component.ts
@@ -7,7 +7,7 @@ import { Router } from '@angular/router-deprecated';
7import { BytesPipe } from 'angular-pipes/src/math/bytes.pipe'; 7import { BytesPipe } from 'angular-pipes/src/math/bytes.pipe';
8import { PROGRESSBAR_DIRECTIVES } from 'ng2-bootstrap/components/progressbar'; 8import { PROGRESSBAR_DIRECTIVES } from 'ng2-bootstrap/components/progressbar';
9 9
10import { AuthService, User } from '../../users/index'; 10import { AuthService, User } from '../../shared/index';
11 11
12@Component({ 12@Component({
13 selector: 'my-videos-add', 13 selector: 'my-videos-add',
diff --git a/client/app/videos/video-list/video-list.component.ts b/client/app/videos/video-list/video-list.component.ts
index 6322860be..baca00deb 100644
--- a/client/app/videos/video-list/video-list.component.ts
+++ b/client/app/videos/video-list/video-list.component.ts
@@ -10,8 +10,7 @@ import {
10 Video, 10 Video,
11 VideoService 11 VideoService
12} from '../shared/index'; 12} from '../shared/index';
13import { Search, SearchField } from '../../shared/index'; 13import { AuthService, Search, SearchField, User } from '../../shared/index';
14import { AuthService, User } from '../../users/index';
15import { VideoMiniatureComponent } from './video-miniature.component'; 14import { VideoMiniatureComponent } from './video-miniature.component';
16import { VideoSortComponent } from './video-sort.component'; 15import { VideoSortComponent } from './video-sort.component';
17 16
diff --git a/client/app/videos/video-list/video-miniature.component.ts b/client/app/videos/video-list/video-miniature.component.ts
index 3baa1ddd6..11b828ca6 100644
--- a/client/app/videos/video-list/video-miniature.component.ts
+++ b/client/app/videos/video-list/video-miniature.component.ts
@@ -3,7 +3,7 @@ import { Component, Input, Output, EventEmitter } from '@angular/core';
3import { ROUTER_DIRECTIVES } from '@angular/router-deprecated'; 3import { ROUTER_DIRECTIVES } from '@angular/router-deprecated';
4 4
5import { Video, VideoService } from '../shared/index'; 5import { Video, VideoService } from '../shared/index';
6import { User } from '../../users/index'; 6import { User } from '../../shared/index';
7 7
8@Component({ 8@Component({
9 selector: 'my-video-miniature', 9 selector: 'my-video-miniature',