]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blame - client/src/app/+video-channels/video-channels.component.html
Merge branch 'release/2.1.0' into develop
[github/Chocobozzz/PeerTube.git] / client / src / app / +video-channels / video-channels.component.html
CommitLineData
170726f5
C
1<div *ngIf="videoChannel" class="row">
2 <div class="sub-menu">
3
4 <div class="actor">
5 <img [src]="videoChannel.avatarUrl" alt="Avatar" />
6
7 <div class="actor-info">
7de6afdf
C
8 <div class="actor-names">
9 <div class="actor-display-name">{{ videoChannel.displayName }}</div>
9b8a7aa8
RK
10 <div class="actor-name">
11 <span>{{ videoChannel.nameWithHost }}</span>
7811819b 12 <button [cdkCopyToClipboard]="videoChannel.nameWithHost" (click)="activateCopiedMessage()"
a0dedc02
RK
13 class="btn btn-outline-secondary btn-sm copy-button"
14 >
15 <span class="glyphicon glyphicon-copy"></span>
16 </button>
17 </div>
9b8a7aa8 18 </div>
22a16e36 19
9b8a7aa8
RK
20 <div class="right-buttons">
21 <a *ngIf="isChannelManageable" [routerLink]="[ '/my-account/video-channels/update', videoChannel.nameWithHost ]" class="btn btn-outline-tertiary mr-2" i18n>Manage</a>
22 <my-subscribe-button #subscribeButton [videoChannels]="[videoChannel]"></my-subscribe-button>
7de6afdf 23 </div>
a4f99a76 24
9b8a7aa8
RK
25 <div class="actor-lower">
26 <div class="actor-followers" i18n>{videoChannel.followersCount, plural, =1 {1 subscriber} other {{{ videoChannel.followersCount }} subscribers}}</div>
27
28 <a [routerLink]="[ '/accounts', videoChannel.ownerBy ]" i18n-title title="Go the owner account page" class="actor-owner">
29 <span i18n>Created by {{ videoChannel.ownerBy }}</span>
30 <img [src]="videoChannel.ownerAvatarUrl" alt="Owner account avatar" />
31 </a>
32 </div>
170726f5
C
33 </div>
34 </div>
35
24e7916c
RK
36 <div class="links w-100">
37 <ng-template #linkTemplate let-item="item">
38 <a [routerLink]="item.routerLink" routerLinkActive="active" class="title-page">{{ item.label }}</a>
39 </ng-template>
40
41 <list-overflow [items]="links" [itemTemplate]="linkTemplate"></list-overflow>
170726f5
C
42 </div>
43 </div>
44
45 <div class="margin-content">
46 <router-outlet></router-outlet>
47 </div>
48</div>