]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blob - client/src/app/+video-channels/video-channels.component.html
Media queries to use variables when possible
[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 [cdkCopyToClipboard]="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 <div class="right-buttons">
19 <a *ngIf="isChannelManageable" [routerLink]="[ '/my-account/video-channels/update', videoChannel.nameWithHost ]" class="btn btn-outline-tertiary mr-2" i18n>Manage</a>
20 <my-subscribe-button #subscribeButton [videoChannels]="[videoChannel]"></my-subscribe-button>
21 </div>
22 </div>
23 <div class="actor-followers" i18n>{videoChannel.followersCount, plural, =1 {1 subscriber} other {{{ videoChannel.followersCount }} subscribers}}</div>
24
25 <a [routerLink]="[ '/accounts', videoChannel.ownerBy ]" i18n-title title="Go the owner account page" class="actor-owner">
26 <span i18n>Created by {{ videoChannel.ownerBy }}</span>
27 <img [src]="videoChannel.ownerAvatarUrl" alt="Owner account avatar" />
28 </a>
29 </div>
30 </div>
31
32 <div class="links w-100">
33 <ng-template #linkTemplate let-item="item">
34 <a [routerLink]="item.routerLink" routerLinkActive="active" class="title-page">{{ item.label }}</a>
35 </ng-template>
36
37 <list-overflow [items]="links" [itemTemplate]="linkTemplate"></list-overflow>
38 </div>
39 </div>
40
41 <div class="margin-content">
42 <router-outlet></router-outlet>
43 </div>
44 </div>