]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blame - client/src/app/+accounts/account-video-channels/account-video-channels.component.html
Migrate to bootstrap 5
[github/Chocobozzz/PeerTube.git] / client / src / app / +accounts / account-video-channels / account-video-channels.component.html
CommitLineData
4c8749cb 1<h1 class="visually-hidden" i18n>Video channels</h1>
900f7820 2
c8487f3f 3<div class="margin-content">
d3e91a5f 4
57cfff78
C
5 <div class="no-results" i18n *ngIf="channelPagination.totalItems === 0">This account does not have channels.</div>
6
dd24f1bb 7 <div class="channels" myInfiniteScroller (nearOfBottom)="onNearOfBottom()" [dataObservable]="onChannelDataSubject.asObservable()">
900f7820
C
8 <div class="channel" *ngFor="let videoChannel of videoChannels">
9
10 <div class="channel-avatar-row">
746018f6 11 <my-actor-avatar
d0800f76 12 [channel]="videoChannel"
13 [internalHref]="getVideoChannelLink(videoChannel)"
14 i18n-title
15 title="See this video channel"
16 size="75"
746018f6 17 ></my-actor-avatar>
c8487f3f 18
900f7820
C
19 <h2>
20 <a [routerLink]="getVideoChannelLink(videoChannel)" i18n-title title="See this video channel">
21 {{ videoChannel.displayName }}
22 </a>
23 </h2>
24
25 <div class="actor-counters">
eaa52952 26 <div class="followers" i18n>{videoChannel.followersCount, plural, =0 {No subscribers} =1 {1 subscriber} other {{{ videoChannel.followersCount }} subscribers}}</div>
bc01017b 27
900f7820 28 <span class="videos-count" *ngIf="getTotalVideosOf(videoChannel) !== undefined" i18n>
eaa52952 29 {getTotalVideosOf(videoChannel), plural, =0 {No videos} =1 {1 video} other {{{ getTotalVideosOf(videoChannel) }} videos}}
900f7820
C
30 </span>
31 </div>
32
33 <div class="description-html" [innerHTML]="getChannelDescription(videoChannel)"></div>
c8487f3f
C
34 </div>
35
900f7820
C
36 <my-subscribe-button [videoChannels]="[videoChannel]"></my-subscribe-button>
37
38 <a i18n class="button-show-channel peertube-button-link orange-button-inverted" [routerLink]="getVideoChannelLink(videoChannel)">Show this channel</a>
39
40 <div class="videos">
41 <div class="no-results" i18n *ngIf="getTotalVideosOf(videoChannel) === 0">This channel doesn't have any videos.</div>
fff77ba2 42
bfbd9128
C
43 <my-video-miniature
44 *ngFor="let video of getVideosOf(videoChannel)"
900f7820 45 [video]="video" [user]="userMiniature" [displayVideoActions]="true" [displayOptions]="miniatureDisplayOptions"
bfbd9128 46 ></my-video-miniature>
dc890263 47
900f7820
C
48 <div *ngIf="getTotalVideosOf(videoChannel)" class="miniature-show-channel">
49 <a i18n [routerLink]="getVideoChannelLink(videoChannel)">SHOW THIS CHANNEL ></a>
50 </div>
51 </div>
c8487f3f
C
52 </div>
53 </div>
54</div>