From 191764f30b0a812bf3a9dbdc7daf1d5afe25e12a Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Tue, 14 Aug 2018 09:08:47 +0200 Subject: Improve blacklist management --- .../my-account-videos/my-account-videos.component.html | 4 ++++ .../my-account-videos/my-account-videos.component.scss | 17 +++++++++++++++-- 2 files changed, 19 insertions(+), 2 deletions(-) (limited to 'client/src/app/+my-account') diff --git a/client/src/app/+my-account/my-account-videos/my-account-videos.component.html b/client/src/app/+my-account/my-account-videos/my-account-videos.component.html index 4823e2db9..8a6cb5c32 100644 --- a/client/src/app/+my-account/my-account-videos/my-account-videos.component.html +++ b/client/src/app/+my-account/my-account-videos/my-account-videos.component.html @@ -18,6 +18,10 @@ {{ video.name }} {{ video.createdAt | myFromNow }} - {{ video.views | myNumberFormatter }} views
{{ video.privacy.label }}{{ getStateLabel(video) }}
+
+ Blacklisted + {{ video.blacklistedReason }} +
diff --git a/client/src/app/+my-account/my-account-videos/my-account-videos.component.scss b/client/src/app/+my-account/my-account-videos/my-account-videos.component.scss index 9df28f472..64a04fa20 100644 --- a/client/src/app/+my-account/my-account-videos/my-account-videos.component.scss +++ b/client/src/app/+my-account/my-account-videos/my-account-videos.component.scss @@ -76,12 +76,25 @@ font-weight: $font-semibold; } - .video-info-date-views, .video-info-private { + .video-info-date-views, + .video-info-private, + .video-info-blacklisted { font-size: 13px; - &.video-info-private { + &.video-info-private, + &.video-info-blacklisted .blacklisted-label { font-weight: $font-semibold; } + + &.video-info-blacklisted { + color: red; + + .blacklisted-reason { + &::before { + content: ' - '; + } + } + } } } -- cgit v1.2.3