1
0
Fork 0
peertube/client/src/app/+video-channels/video-channels.component.html

43 lines
1.8 KiB
HTML
Raw Normal View History

2018-04-25 10:56:13 -04:00
<div *ngIf="videoChannel" class="row">
<div class="sub-menu">
<div class="actor">
<img [src]="videoChannel.avatarUrl" alt="Avatar" />
<div class="actor-info">
<div class="actor-names">
<div class="actor-display-name">{{ videoChannel.displayName }}</div>
<div class="actor-name">{{ videoChannel.nameWithHost }}
2020-02-10 08:37:15 -05:00
<button [cdkCopyToClipboard]="videoChannel.nameWithHost" (click)="activateCopiedMessage()"
class="btn btn-outline-secondary btn-sm copy-button"
>
<span class="glyphicon glyphicon-copy"></span>
</button>
</div>
2018-08-21 10:18:59 -04:00
<div class="right-buttons">
2020-01-22 09:01:38 -05:00
<a *ngIf="isChannelManageable" [routerLink]="[ '/my-account/video-channels/update', videoChannel.nameWithHost ]" class="btn btn-outline-tertiary mr-2" i18n>Manage</a>
<my-subscribe-button #subscribeButton [videoChannels]="[videoChannel]"></my-subscribe-button>
</div>
</div>
2020-01-10 13:50:48 -05:00
<div class="actor-followers" i18n>{videoChannel.followersCount, plural, =1 {1 subscriber} other {{{ videoChannel.followersCount }} subscribers}}</div>
2018-05-23 05:38:00 -04:00
2018-06-04 10:21:17 -04:00
<a [routerLink]="[ '/accounts', videoChannel.ownerBy ]" i18n-title title="Go the owner account page" class="actor-owner">
<span i18n>Created by {{ videoChannel.ownerBy }}</span>
2018-05-23 05:38:00 -04:00
<img [src]="videoChannel.ownerAvatarUrl" alt="Owner account avatar" />
</a>
2018-04-25 10:56:13 -04:00
</div>
</div>
<div class="links">
2018-06-04 10:21:17 -04:00
<a i18n routerLink="videos" routerLinkActive="active" class="title-page">Videos</a>
2019-03-14 09:05:36 -04:00
<a i18n routerLink="video-playlists" routerLinkActive="active" class="title-page">Video playlists</a>
2018-06-04 10:21:17 -04:00
<a i18n routerLink="about" routerLinkActive="active" class="title-page">About</a>
2018-04-25 10:56:13 -04:00
</div>
</div>
<div class="margin-content">
<router-outlet></router-outlet>
</div>
</div>