diff options
author | Chocobozzz <me@florianbigard.com> | 2018-04-19 14:52:10 +0200 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2018-04-19 14:52:10 +0200 |
commit | 2243730c8edf210c0a3ffc161bac89785f6a52f0 (patch) | |
tree | 5ff532942876f7828a668399b279e37d80f36ae5 /client/src/app/account/account-videos | |
parent | 41f657c570472d0f96aece3234497f83b760dfa0 (diff) | |
download | PeerTube-2243730c8edf210c0a3ffc161bac89785f6a52f0.tar.gz PeerTube-2243730c8edf210c0a3ffc161bac89785f6a52f0.tar.zst PeerTube-2243730c8edf210c0a3ffc161bac89785f6a52f0.zip |
Add information concerning video privacy in my videos list
Diffstat (limited to 'client/src/app/account/account-videos')
-rw-r--r-- | client/src/app/account/account-videos/account-videos.component.html | 1 | ||||
-rw-r--r-- | client/src/app/account/account-videos/account-videos.component.scss | 6 |
2 files changed, 6 insertions, 1 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 d7e2230b0..66ce3a77b 100644 --- a/client/src/app/account/account-videos/account-videos.component.html +++ b/client/src/app/account/account-videos/account-videos.component.html | |||
@@ -18,6 +18,7 @@ | |||
18 | <div class="video-info"> | 18 | <div class="video-info"> |
19 | <a class="video-info-name" [routerLink]="['/videos/watch', video.uuid]" [attr.title]="video.name">{{ video.name }}</a> | 19 | <a class="video-info-name" [routerLink]="['/videos/watch', video.uuid]" [attr.title]="video.name">{{ video.name }}</a> |
20 | <span class="video-info-date-views">{{ video.createdAt | myFromNow }} - {{ video.views | myNumberFormatter }} views</span> | 20 | <span class="video-info-date-views">{{ video.createdAt | myFromNow }} - {{ video.views | myNumberFormatter }} views</span> |
21 | <div class="video-info-private">{{ video.privacy.label }}</div> | ||
21 | </div> | 22 | </div> |
22 | 23 | ||
23 | <!-- Display only once --> | 24 | <!-- Display only once --> |
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 449cc6af4..f276ea389 100644 --- a/client/src/app/account/account-videos/account-videos.component.scss +++ b/client/src/app/account/account-videos/account-videos.component.scss | |||
@@ -79,8 +79,12 @@ | |||
79 | font-weight: $font-semibold; | 79 | font-weight: $font-semibold; |
80 | } | 80 | } |
81 | 81 | ||
82 | .video-info-date-views { | 82 | .video-info-date-views, .video-info-private { |
83 | font-size: 13px; | 83 | font-size: 13px; |
84 | |||
85 | &.video-info-private { | ||
86 | font-weight: $font-semibold; | ||
87 | } | ||
84 | } | 88 | } |
85 | } | 89 | } |
86 | 90 | ||