diff options
author | Chocobozzz <florian.bigard@gmail.com> | 2017-05-05 16:08:43 +0200 |
---|---|---|
committer | Chocobozzz <florian.bigard@gmail.com> | 2017-05-05 16:08:43 +0200 |
commit | 1f0215a908c3b447cef03c10d4b089c0788922bd (patch) | |
tree | 2968e02707debeb91dfad0c5234da90d1e59ec38 /client/src/app/+admin/video-abuses | |
parent | c24ac1c18e26b6a24a4d294744908fb0c53ddf3c (diff) | |
download | PeerTube-1f0215a908c3b447cef03c10d4b089c0788922bd.tar.gz PeerTube-1f0215a908c3b447cef03c10d4b089c0788922bd.tar.zst PeerTube-1f0215a908c3b447cef03c10d4b089c0788922bd.zip |
Client: little refractoring
Diffstat (limited to 'client/src/app/+admin/video-abuses')
3 files changed, 19 insertions, 27 deletions
diff --git a/client/src/app/+admin/video-abuses/video-abuse-list/video-abuse-list.component.scss b/client/src/app/+admin/video-abuses/video-abuse-list/video-abuse-list.component.scss deleted file mode 100644 index a094f74b8..000000000 --- a/client/src/app/+admin/video-abuses/video-abuse-list/video-abuse-list.component.scss +++ /dev/null | |||
@@ -1,7 +0,0 @@ | |||
1 | .cell-id { | ||
2 | width: 40px; | ||
3 | } | ||
4 | |||
5 | .cell-reason { | ||
6 | width: 200px; | ||
7 | } | ||
diff --git a/client/src/app/+admin/video-abuses/video-abuse-list/video-abuse-list.component.ts b/client/src/app/+admin/video-abuses/video-abuse-list/video-abuse-list.component.ts index f59c4fffb..55d82f790 100644 --- a/client/src/app/+admin/video-abuses/video-abuse-list/video-abuse-list.component.ts +++ b/client/src/app/+admin/video-abuses/video-abuse-list/video-abuse-list.component.ts | |||
@@ -6,8 +6,7 @@ import { Utils, VideoAbuseService, VideoAbuse } from '../../../shared'; | |||
6 | 6 | ||
7 | @Component({ | 7 | @Component({ |
8 | selector: 'my-video-abuse-list', | 8 | selector: 'my-video-abuse-list', |
9 | templateUrl: './video-abuse-list.component.html', | 9 | templateUrl: './video-abuse-list.component.html' |
10 | styleUrls: [ './video-abuse-list.component.scss' ] | ||
11 | }) | 10 | }) |
12 | export class VideoAbuseListComponent { | 11 | export class VideoAbuseListComponent { |
13 | videoAbusesSource = null; | 12 | videoAbusesSource = null; |
diff --git a/client/src/app/+admin/video-abuses/video-abuses.routes.ts b/client/src/app/+admin/video-abuses/video-abuses.routes.ts index c99e162be..1f19d7885 100644 --- a/client/src/app/+admin/video-abuses/video-abuses.routes.ts +++ b/client/src/app/+admin/video-abuses/video-abuses.routes.ts | |||
@@ -5,24 +5,24 @@ import { VideoAbuseListComponent } from './video-abuse-list'; | |||
5 | 5 | ||
6 | export const VideoAbusesRoutes: Routes = [ | 6 | export const VideoAbusesRoutes: Routes = [ |
7 | { | 7 | { |
8 | path: 'video-abuses', | 8 | path: 'video-abuses', |
9 | component: VideoAbusesComponent | 9 | component: VideoAbusesComponent |
10 | , | 10 | , |
11 | children: [ | 11 | children: [ |
12 | { | 12 | { |
13 | path: '', | 13 | path: '', |
14 | redirectTo: 'list', | 14 | redirectTo: 'list', |
15 | pathMatch: 'full' | 15 | pathMatch: 'full' |
16 | }, | 16 | }, |
17 | { | 17 | { |
18 | path: 'list', | 18 | path: 'list', |
19 | component: VideoAbuseListComponent, | 19 | component: VideoAbuseListComponent, |
20 | data: { | 20 | data: { |
21 | meta: { | 21 | meta: { |
22 | title: 'Video abuses list' | 22 | title: 'Video abuses list' |
23 | } | ||
24 | } | 23 | } |
25 | } | 24 | } |
26 | ] | 25 | } |
27 | } | 26 | ] |
27 | } | ||
28 | ]; | 28 | ]; |