diff options
author | Chocobozzz <me@florianbigard.com> | 2018-05-07 11:24:42 +0200 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2018-05-07 11:24:42 +0200 |
commit | b0ae905e7b95a218d087d669c74d86a2679174ab (patch) | |
tree | 8c382e504fadf3ecb9504ac6abdac1fa905081ea /client/src/app | |
parent | 95166f9aafa378a2d39fd76ef773f39dcb3f8b39 (diff) | |
download | PeerTube-b0ae905e7b95a218d087d669c74d86a2679174ab.tar.gz PeerTube-b0ae905e7b95a218d087d669c74d86a2679174ab.tar.zst PeerTube-b0ae905e7b95a218d087d669c74d86a2679174ab.zip |
Add support section in video channel about page
Diffstat (limited to 'client/src/app')
-rw-r--r-- | client/src/app/+video-channels/video-channel-about/video-channel-about.component.html | 18 | ||||
-rw-r--r-- | client/src/app/+video-channels/video-channel-about/video-channel-about.component.scss | 10 |
2 files changed, 20 insertions, 8 deletions
diff --git a/client/src/app/+video-channels/video-channel-about/video-channel-about.component.html b/client/src/app/+video-channels/video-channel-about/video-channel-about.component.html index 65ad6f541..a4338121f 100644 --- a/client/src/app/+video-channels/video-channel-about/video-channel-about.component.html +++ b/client/src/app/+video-channels/video-channel-about/video-channel-about.component.html | |||
@@ -1,12 +1,20 @@ | |||
1 | <div *ngIf="videoChannel" class="row"> | 1 | <div *ngIf="videoChannel" class="row"> |
2 | <div class="description col-md-6 col-sm-12"> | 2 | <div class="description col-md-6 col-sm-12"> |
3 | <div class="small-title">Description</div> | 3 | <div class="block"> |
4 | <div class="content">{{ getVideoChannelDescription() }}</div> | 4 | <div class="small-title">Description</div> |
5 | <div class="content">{{ getVideoChannelDescription() }}</div> | ||
6 | </div> | ||
7 | |||
8 | <div class="block" *ngIf="videoChannel.support"> | ||
9 | <div class="small-title">Support this channel</div> | ||
10 | <div class="content">{{ videoChannel.support }}</div> | ||
11 | </div> | ||
5 | </div> | 12 | </div> |
6 | 13 | ||
7 | <div class="stats col-md-6 col-sm-12"> | 14 | <div class="stats col-md-6 col-sm-12"> |
8 | <div class="small-title">Stats</div> | 15 | <div class="block"> |
9 | 16 | <div class="small-title">Stats</div> | |
10 | <div class="content">Created {{ videoChannel.createdAt | date }}</div> | 17 | <div class="content">Created {{ videoChannel.createdAt | date }}</div> |
18 | </div> | ||
11 | </div> | 19 | </div> |
12 | </div> \ No newline at end of file | 20 | </div> \ No newline at end of file |
diff --git a/client/src/app/+video-channels/video-channel-about/video-channel-about.component.scss b/client/src/app/+video-channels/video-channel-about/video-channel-about.component.scss index b1be7d4ed..5bcd4b561 100644 --- a/client/src/app/+video-channels/video-channel-about/video-channel-about.component.scss +++ b/client/src/app/+video-channels/video-channel-about/video-channel-about.component.scss | |||
@@ -1,8 +1,12 @@ | |||
1 | @import '_variables'; | 1 | @import '_variables'; |
2 | @import '_mixins'; | 2 | @import '_mixins'; |
3 | 3 | ||
4 | .small-title { | 4 | .block { |
5 | @include in-content-small-title; | 5 | margin-bottom: 40px; |
6 | 6 | ||
7 | margin-bottom: 20px; | 7 | .small-title { |
8 | @include in-content-small-title; | ||
9 | |||
10 | margin-bottom: 20px; | ||
11 | } | ||
8 | } | 12 | } |