-<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">
- <span>{{ videoChannel.nameWithHost }}</span>
- <button [cdkCopyToClipboard]="videoChannel.nameWithHostForced" (click)="activateCopiedMessage()"
- class="btn btn-outline-secondary btn-sm copy-button"
- >
- <span class="glyphicon glyphicon-duplicate"></span>
- </button>
+<div class="root" *ngIf="videoChannel">
+ <div class="banner" *ngIf="videoChannel.bannerUrl">
+ <img [src]="videoChannel.bannerUrl" alt="Channel banner">
+ </div>
+
+ <div class="channel-info">
+
+ <ng-template #buttonsTemplate>
+ <a *ngIf="isManageable()" [routerLink]="[ '/my-library/video-channels/update', videoChannel.nameWithHost ]" class="peertube-button-link orange-button" i18n>
+ Manage channel
+ </a>
+
+ <my-subscribe-button *ngIf="!isManageable()" #subscribeButton [videoChannels]="[videoChannel]"></my-subscribe-button>
+
+ <button *ngIf="videoChannel.support" (click)="showSupportModal()" class="support-button peertube-button orange-button-inverted">
+ <my-global-icon iconName="support" aria-hidden="true"></my-global-icon>
+ <span class="icon-text" i18n>Support</span>
+ </button>
+ </ng-template>
+
+ <ng-template #ownerTemplate>
+ <div class="owner-block">
+ <div class="section-label" i18n>OWNER ACCOUNT</div>
+
+ <div class="avatar-row">
+ <my-actor-avatar class="account-avatar" [account]="videoChannel.ownerAccount" [internalHref]="getAccountUrl()"></my-actor-avatar>
+
+ <div class="actor-info">
+ <h4>
+ <a [routerLink]="getAccountUrl()" title="View account" i18n-title>{{ videoChannel.ownerAccount.displayName }}</a>
+ </h4>
+
+ <div class="actor-handle">@{{ videoChannel.ownerBy }}</div>