aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src/app/+admin/overview/videos
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2021-11-03 14:23:55 +0100
committerChocobozzz <me@florianbigard.com>2021-11-03 14:23:55 +0100
commitdd6d2a7ce50e7ff02e00995ccc87f8f929ad9709 (patch)
treeb71ed391c2d8f99bff40dd3461010876de7bb23c /client/src/app/+admin/overview/videos
parentd324756edb836672f12284cd18e642a658b273d8 (diff)
downloadPeerTube-dd6d2a7ce50e7ff02e00995ccc87f8f929ad9709.tar.gz
PeerTube-dd6d2a7ce50e7ff02e00995ccc87f8f929ad9709.tar.zst
PeerTube-dd6d2a7ce50e7ff02e00995ccc87f8f929ad9709.zip
Improve advanced input filter
Diffstat (limited to 'client/src/app/+admin/overview/videos')
-rw-r--r--client/src/app/+admin/overview/videos/video-admin.service.ts18
-rw-r--r--client/src/app/+admin/overview/videos/video-list.component.ts2
2 files changed, 10 insertions, 10 deletions
diff --git a/client/src/app/+admin/overview/videos/video-admin.service.ts b/client/src/app/+admin/overview/videos/video-admin.service.ts
index b90fe22d8..f80de7acd 100644
--- a/client/src/app/+admin/overview/videos/video-admin.service.ts
+++ b/client/src/app/+admin/overview/videos/video-admin.service.ts
@@ -44,11 +44,11 @@ export class VideoAdminService {
44 title: $localize`Video type`, 44 title: $localize`Video type`,
45 children: [ 45 children: [
46 { 46 {
47 queryParams: { search: 'isLive:false' }, 47 value: 'isLive:false',
48 label: $localize`VOD` 48 label: $localize`VOD`
49 }, 49 },
50 { 50 {
51 queryParams: { search: 'isLive:true' }, 51 value: 'isLive:true',
52 label: $localize`Live` 52 label: $localize`Live`
53 } 53 }
54 ] 54 ]
@@ -58,19 +58,19 @@ export class VideoAdminService {
58 title: $localize`Video files`, 58 title: $localize`Video files`,
59 children: [ 59 children: [
60 { 60 {
61 queryParams: { search: 'webtorrent:true' }, 61 value: 'webtorrent:true',
62 label: $localize`With WebTorrent` 62 label: $localize`With WebTorrent`
63 }, 63 },
64 { 64 {
65 queryParams: { search: 'webtorrent:false' }, 65 value: 'webtorrent:false',
66 label: $localize`Without WebTorrent` 66 label: $localize`Without WebTorrent`
67 }, 67 },
68 { 68 {
69 queryParams: { search: 'hls:true' }, 69 value: 'hls:true',
70 label: $localize`With HLS` 70 label: $localize`With HLS`
71 }, 71 },
72 { 72 {
73 queryParams: { search: 'hls:false' }, 73 value: 'hls:false',
74 label: $localize`Without HLS` 74 label: $localize`Without HLS`
75 } 75 }
76 ] 76 ]
@@ -80,11 +80,11 @@ export class VideoAdminService {
80 title: $localize`Videos scope`, 80 title: $localize`Videos scope`,
81 children: [ 81 children: [
82 { 82 {
83 queryParams: { search: 'isLocal:false' }, 83 value: 'isLocal:false',
84 label: $localize`Remote videos` 84 label: $localize`Remote videos`
85 }, 85 },
86 { 86 {
87 queryParams: { search: 'isLocal:true' }, 87 value: 'isLocal:true',
88 label: $localize`Local videos` 88 label: $localize`Local videos`
89 } 89 }
90 ] 90 ]
@@ -94,7 +94,7 @@ export class VideoAdminService {
94 title: $localize`Exclude`, 94 title: $localize`Exclude`,
95 children: [ 95 children: [
96 { 96 {
97 queryParams: { search: 'excludeMuted' }, 97 value: 'excludeMuted',
98 label: $localize`Exclude muted accounts` 98 label: $localize`Exclude muted accounts`
99 } 99 }
100 ] 100 ]
diff --git a/client/src/app/+admin/overview/videos/video-list.component.ts b/client/src/app/+admin/overview/videos/video-list.component.ts
index 635552cf5..0f98a5d33 100644
--- a/client/src/app/+admin/overview/videos/video-list.component.ts
+++ b/client/src/app/+admin/overview/videos/video-list.component.ts
@@ -86,7 +86,7 @@ export class VideoListComponent extends RestTable implements OnInit {
86 } 86 }
87 87
88 getPrivacyBadgeClass (video: Video) { 88 getPrivacyBadgeClass (video: Video) {
89 if (video.privacy.id === VideoPrivacy.PUBLIC) return 'badge-blue' 89 if (video.privacy.id === VideoPrivacy.PUBLIC) return 'badge-green'
90 90
91 return 'badge-yellow' 91 return 'badge-yellow'
92 } 92 }