]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blob - 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
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">
8 <div class="actor-names">
9 <div class="actor-display-name">{{ videoChannel.displayName }}</div>
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>
17
18 <my-subscribe-button #subscribeButton [videoChannels]="[videoChannel]"></my-subscribe-button>
19 </div>
20 <div i18n class="actor-followers">{{ videoChannel.followersCount }} subscribers</div>
21
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>
24 <img [src]="videoChannel.ownerAvatarUrl" alt="Owner account avatar" />
25 </a>
26 </div>
27 </div>
28
29 <div class="links">
30 <a i18n routerLink="videos" routerLinkActive="active" class="title-page">Videos</a>
31 <a i18n routerLink="video-playlists" routerLinkActive="active" class="title-page">Video playlists</a>
32 <a i18n routerLink="about" routerLinkActive="active" class="title-page">About</a>
33 </div>
34 </div>
35
36 <div class="margin-content">
37 <router-outlet></router-outlet>
38 </div>
39 </div>