Add support section in video channel about page

This commit is contained in:
Chocobozzz 2018-05-07 11:24:42 +02:00
parent 95166f9aaf
commit b0ae905e7b
No known key found for this signature in database
GPG Key ID: 583A612D890159BE
2 changed files with 20 additions and 8 deletions

View File

@ -1,12 +1,20 @@
<div *ngIf="videoChannel" class="row"> <div *ngIf="videoChannel" class="row">
<div class="description col-md-6 col-sm-12"> <div class="description col-md-6 col-sm-12">
<div class="small-title">Description</div> <div class="block">
<div class="content">{{ getVideoChannelDescription() }}</div> <div class="small-title">Description</div>
<div class="content">{{ getVideoChannelDescription() }}</div>
</div>
<div class="block" *ngIf="videoChannel.support">
<div class="small-title">Support this channel</div>
<div class="content">{{ videoChannel.support }}</div>
</div>
</div> </div>
<div class="stats col-md-6 col-sm-12"> <div class="stats col-md-6 col-sm-12">
<div class="small-title">Stats</div> <div class="block">
<div class="small-title">Stats</div>
<div class="content">Created {{ videoChannel.createdAt | date }}</div> <div class="content">Created {{ videoChannel.createdAt | date }}</div>
</div>
</div> </div>
</div> </div>

View File

@ -1,8 +1,12 @@
@import '_variables'; @import '_variables';
@import '_mixins'; @import '_mixins';
.small-title { .block {
@include in-content-small-title; margin-bottom: 40px;
margin-bottom: 20px; .small-title {
@include in-content-small-title;
margin-bottom: 20px;
}
} }