]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blob - client/src/app/shared/shared-custom-markup/peertube-custom-tags/channel-miniature-markup.component.html
2efc56ab2deb1e111b87b715ea898a913f41e555
[github/Chocobozzz/PeerTube.git] / client / src / app / shared / shared-custom-markup / peertube-custom-tags / channel-miniature-markup.component.html
1 <div *ngIf="channel" class="channel">
2
3 <div class="channel-avatar-row">
4 <my-actor-avatar [channel]="channel" [internalHref]="getVideoChannelLink()" i18n-title title="See this video channel"></my-actor-avatar>
5
6 <h6>
7 <a [routerLink]="getVideoChannelLink()" i18n-title title="See this video channel">
8 {{ channel.displayName }}
9 </a>
10 </h6>
11
12 <div class="actor-counters">
13 <div class="followers" i18n>{channel.followersCount, plural, =1 {1 subscriber} other {{{ channel.followersCount }} subscribers}}</div>
14
15 <span class="videos-count" *ngIf="totalVideos !== undefined" i18n>
16 {totalVideos, plural, =1 {1 videos} other {{{ totalVideos }} videos}}
17 </span>
18 </div>
19
20 <div *ngIf="displayDescription" class="description-html" [innerHTML]="descriptionHTML"></div>
21 </div>
22
23 <div class="video" *ngIf="video && displayLatestVideo">
24 <div i18n class="video-label">Latest published video</div>
25
26 <my-video-miniature-markup [uuid]="video.uuid" [onlyDisplayTitle]="true"></my-video-miniature-markup>
27 </div>
28 </div>