diff options
author | Caroline Chuong <caroline.chuong@octo.com> | 2020-06-13 00:53:56 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-06-13 00:53:56 +0200 |
commit | c9e3565dc8d0e5ce0dcbdb4fe8deb7a257d9e2a0 (patch) | |
tree | 2646dbf2602648e84102121da72629e313e61297 /client/src/app/+accounts | |
parent | 1a40132c67e50c94a7bd3f6b63c075f471b3d6cc (diff) | |
download | PeerTube-c9e3565dc8d0e5ce0dcbdb4fe8deb7a257d9e2a0.tar.gz PeerTube-c9e3565dc8d0e5ce0dcbdb4fe8deb7a257d9e2a0.tar.zst PeerTube-c9e3565dc8d0e5ce0dcbdb4fe8deb7a257d9e2a0.zip |
fix headings order or add missing ones (#2871)
Co-authored-by: Rigel Kent <sendmemail@rigelk.eu>
Diffstat (limited to 'client/src/app/+accounts')
-rw-r--r-- | client/src/app/+accounts/account-about/account-about.component.html | 5 | ||||
-rw-r--r-- | client/src/app/+accounts/account-video-channels/account-video-channels.component.html | 3 |
2 files changed, 5 insertions, 3 deletions
diff --git a/client/src/app/+accounts/account-about/account-about.component.html b/client/src/app/+accounts/account-about/account-about.component.html index 1f1987aba..e9e0e4079 100644 --- a/client/src/app/+accounts/account-about/account-about.component.html +++ b/client/src/app/+accounts/account-about/account-about.component.html | |||
@@ -1,12 +1,13 @@ | |||
1 | <h1 class="sr-only" i18n>About</h1> | ||
1 | <div class="margin-content"> | 2 | <div class="margin-content"> |
2 | <div *ngIf="account" class="row no-gutters"> | 3 | <div *ngIf="account" class="row no-gutters"> |
3 | <div class="block col-md-6 col-sm-12 pr-2"> | 4 | <div class="block col-md-6 col-sm-12 pr-2"> |
4 | <div i18n class="small-title">DESCRIPTION</div> | 5 | <h2 i18n class="small-title">DESCRIPTION</h2> |
5 | <div class="content" [innerHtml]="getAccountDescription()"></div> | 6 | <div class="content" [innerHtml]="getAccountDescription()"></div> |
6 | </div> | 7 | </div> |
7 | 8 | ||
8 | <div class="block col-md-6 col-sm-12"> | 9 | <div class="block col-md-6 col-sm-12"> |
9 | <div i18n class="small-title">STATS</div> | 10 | <h2 i18n class="small-title">STATS</h2> |
10 | 11 | ||
11 | <div i18n class="content">Joined {{ account.createdAt | date }}</div> | 12 | <div i18n class="content">Joined {{ account.createdAt | date }}</div> |
12 | </div> | 13 | </div> |
diff --git a/client/src/app/+accounts/account-video-channels/account-video-channels.component.html b/client/src/app/+accounts/account-video-channels/account-video-channels.component.html index 8f1ff21a5..73bac5f1d 100644 --- a/client/src/app/+accounts/account-video-channels/account-video-channels.component.html +++ b/client/src/app/+accounts/account-video-channels/account-video-channels.component.html | |||
@@ -1,3 +1,4 @@ | |||
1 | <h1 class="sr-only" i18n>Video channels</h1> | ||
1 | <div class="margin-content"> | 2 | <div class="margin-content"> |
2 | 3 | ||
3 | <div class="no-results" i18n *ngIf="channelPagination.totalItems === 0">This account does not have channels.</div> | 4 | <div class="no-results" i18n *ngIf="channelPagination.totalItems === 0">This account does not have channels.</div> |
@@ -8,7 +9,7 @@ | |||
8 | <a [routerLink]="getVideoChannelLink(videoChannel)" i18n-title title="See this video channel"> | 9 | <a [routerLink]="getVideoChannelLink(videoChannel)" i18n-title title="See this video channel"> |
9 | <img [src]="videoChannel.avatarUrl" alt="Avatar" /> | 10 | <img [src]="videoChannel.avatarUrl" alt="Avatar" /> |
10 | 11 | ||
11 | <div>{{ videoChannel.displayName }}</div> | 12 | <h2 class="section-title">{{ videoChannel.displayName }}</h2> |
12 | <div class="followers" i18n>{videoChannel.followersCount, plural, =1 {1 subscriber} other {{{ videoChannel.followersCount }} subscribers}}</div> | 13 | <div class="followers" i18n>{videoChannel.followersCount, plural, =1 {1 subscriber} other {{{ videoChannel.followersCount }} subscribers}}</div> |
13 | </a> | 14 | </a> |
14 | 15 | ||