]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blame - client/src/app/+video-channels/video-channels.component.html
Refactor my-subscribe-button to support full account subscription
[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>
a0dedc02
RK
10 <div class="actor-name">{{ videoChannel.nameWithHost }}
11 <button ngxClipboard [cbContent]="videoChannel.nameWithHost" (click)="activateCopiedMessage()"
12 class="btn btn-outline-secondary btn-sm copy-button"
13 >
14 <span class="glyphicon glyphicon-copy"></span>
15 </button>
16 </div>
22a16e36 17
41eb700f 18 <my-subscribe-button #subscribeButton [videoChannels]="[videoChannel]"></my-subscribe-button>
7de6afdf 19 </div>
b1d40cff 20 <div i18n class="actor-followers">{{ videoChannel.followersCount }} subscribers</div>
a4f99a76 21
b1d40cff
C
22 <a [routerLink]="[ '/accounts', videoChannel.ownerBy ]" i18n-title title="Go the owner account page" class="actor-owner">
23 <span i18n>Created by {{ videoChannel.ownerBy }}</span>
a4f99a76
C
24 <img [src]="videoChannel.ownerAvatarUrl" alt="Owner account avatar" />
25 </a>
170726f5
C
26 </div>
27 </div>
28
29 <div class="links">
b1d40cff 30 <a i18n routerLink="videos" routerLinkActive="active" class="title-page">Videos</a>
bce47964 31 <a i18n routerLink="video-playlists" routerLinkActive="active" class="title-page">Video playlists</a>
b1d40cff 32 <a i18n routerLink="about" routerLinkActive="active" class="title-page">About</a>
170726f5
C
33 </div>
34 </div>
35
36 <div class="margin-content">
37 <router-outlet></router-outlet>
38 </div>
39</div>